/* Long Tail Keyword Suggestion Plugin Styles */
.ltks-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e1e5e9;
}

.ltks-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.ltks-header h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
}

.ltks-header h3 i {
    margin-right: 10px;
    opacity: 0.9;
}

.ltks-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
    font-weight: 300;
}

.ltks-search-box {
    padding: 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.ltks-input-group {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.ltks-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.ltks-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ltks-button {
    padding: 15px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ltks-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.ltks-button:active {
    transform: translateY(0);
}

.ltks-button i {
    margin-right: 8px;
}

.ltks-results-container {
    padding: 0 30px 30px;
}

.ltks-loading,
.ltks-error {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.ltks-loading i,
.ltks-error i {
    font-size: 24px;
    margin-bottom: 15px;
    display: block;
}

.ltks-loading span,
.ltks-error span {
    font-size: 16px;
}

.ltks-error {
    color: #dc3545;
}

.ltks-results h4 {
    color: #2c3e50;
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.ltks-results h4 i {
    color: #667eea;
    margin-right: 10px;
}

.ltks-keywords-list {
    display: grid;
    gap: 12px;
}

.ltks-keyword-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

.ltks-keyword-item:hover {
    transform: translateX(5px);
    border-color: #667eea;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ltks-keyword-text {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
    flex: 1;
}

.ltks-keyword-actions {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ltks-keyword-item:hover .ltks-keyword-actions {
    opacity: 1;
}

.ltks-copy-btn {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.ltks-copy-btn:hover {
    background: #218838;
    transform: scale(1.05);
}

.ltks-copy-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ltks-container {
        margin: 10px;
        border-radius: 8px;
    }
    
    .ltks-header {
        padding: 20px;
    }
    
    .ltks-header h3 {
        font-size: 20px;
    }
    
    .ltks-search-box {
        padding: 20px;
    }
    
    .ltks-input-group {
        flex-direction: column;
    }
    
    .ltks-results-container {
        padding: 0 20px 20px;
    }
    
    .ltks-keyword-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .ltks-keyword-actions {
        opacity: 1;
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .ltks-header h3 {
        font-size: 18px;
    }
    
    .ltks-header p {
        font-size: 14px;
    }
    
    .ltks-input,
    .ltks-button {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .ltks-keyword-text {
        font-size: 14px;
    }
}

/* Loading animation */
.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}