/* Professional Override CSS - Clean Production-Ready Design */

/* Reset AI gradients and override with solid professional colors */
body {
    background: #f8fafc !important;
    background-image: none !important;
}

/* Clean header styling */
header {
    background: #ffffff !important;
    background-image: none !important;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Navigation styling */
nav {
    background: transparent !important;
    background-image: none !important;
}

nav a {
    color: #475569;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #0f172a;
}

nav a.active {
    color: #0f172a;
    font-weight: 500;
}

/* Card components - clean and minimal */
.card, [class*="bg-gradient"] {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Button styling - professional and clean */
button, .btn, [type="submit"] {
    background: #0f172a !important;
    background-image: none !important;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

button:hover, .btn:hover, [type="submit"]:hover {
    background: #1e293b !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

button:active, .btn:active, [type="submit"]:active {
    transform: translateY(0);
}

/* Secondary buttons */
.btn-secondary, button.secondary {
    background: #ffffff !important;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover, button.secondary:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1;
}

/* Input fields - clean and professional */
input, textarea, select {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

/* Table styling */
table {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

thead {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

th {
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
}

td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background: #f8fafc;
}

/* Alert/notification styling */
.alert, .notification {
    background: #ffffff !important;
    background-image: none !important;
    border-left: 4px solid #0f172a;
    border-radius: 6px;
    padding: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.alert-success {
    border-left-color: #10b981;
}

.alert-error {
    border-left-color: #ef4444;
}

.alert-warning {
    border-left-color: #f59e0b;
}

.alert-info {
    border-left-color: #3b82f6;
}

/* Sidebar styling */
aside, .sidebar {
    background: #ffffff !important;
    background-image: none !important;
    border-right: 1px solid #e2e8f0;
}

/* Footer styling */
footer {
    background: #ffffff !important;
    background-image: none !important;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}

/* Remove all text gradients */
.bg-clip-text, [class*="text-gradient"] {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    color: #0f172a !important;
}

/* Badge styling */
.badge, .tag {
    background: #f1f5f9 !important;
    background-image: none !important;
    color: #475569;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Modal styling */
.modal {
    background: #ffffff !important;
    background-image: none !important;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Dropdown styling */
.dropdown {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Smooth transitions for all interactive elements */
a, button, input, select, textarea {
    transition: all 0.2s ease;
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
    color: #0f172a;
    font-weight: 600;
}

p {
    color: #475569;
    line-height: 1.6;
}

/* Link styling */
a {
    color: #0f172a;
    text-decoration: none;
}

a:hover {
    color: #1e293b;
}

/* Utility classes for consistent spacing */
.section-padding {
    padding: 2rem 1rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 3rem 2rem;
    }
}
