/* Enhanced Dashboard Styles - Professional & Responsive */

/* Form Sections */
.form-section {
    background: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-section:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.form-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 2px solid #6366f1;
    padding-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    max-width: 500px !important; /* Standard professional size - not too long */
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .dashboard-tabs {
        flex-wrap: wrap;
        overflow-x: auto;
    }
    
    .tab-btn {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    .form-section {
        padding: 1rem;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Loading Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content {
    animation: fadeIn 0.3s ease-out;
}

/* Smooth Transitions */
.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* Professional Button Styles */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Domain Item Styles */
.domain-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.domain-item:hover {
    border-color: #6366f1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.domain-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.domain-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Admin Card Styles */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #6366f1;
}

.admin-card h3 {
    margin-top: 0;
    color: #6366f1;
    font-size: 1.1rem;
}

.admin-card p {
    color: #6b7280;
    margin: 0.5rem 0 0 0;
}

/* Section Card */
.section-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 1.5rem;
}

.section-card h3 {
    margin-top: 0;
    color: #333;
}

/* API Key Container */
.api-key-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    margin-top: 0.5rem;
}

.api-key-container code {
    flex: 1;
    padding: 0.5rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.checkbox-label:hover {
    background: #f0f0f0;
}

/* Form Actions */
.form-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e0e0e0;
    text-align: center;
}

/* Settings Container */
.settings-container h2 {
    margin-bottom: 1.5rem;
}

/* Admin Link */
.admin-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.admin-link:hover {
    background: #f0f0f0;
}

/* Professional spacing */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

