/* Custom Styles for SiteSpring Client Area */

:root {
    --primary-color: #4f46e5;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --bs-primary: #4f46e5;
    --bs-link-color: #4f46e5;
    --card-border: #e5e7eb;
    --surface: #ffffff;
    --surface-muted: #f3f4f6;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 45px rgba(15, 23, 42, 0.14);
}

body {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: radial-gradient(circle at top left, #eef2ff 0%, #f8fafc 45%, #ffffff 100%);
    color: #0f172a;
    min-height: 100vh;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo {
    height: 34px;
    width: auto;
    display: block;
}

.card {
    border: 1px solid var(--card-border);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.btn {
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25);
}

.table {
    background-color: var(--surface);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
    cursor: pointer;
}

.list-group-item-action:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Dashboard Stats Cards */
.card-body h2 {
    font-weight: 700;
}

/* Badge Styles */
.badge {
    padding: 0.35em 0.65em;
    font-weight: 500;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 0.75rem;
    max-width: 600px;
    margin: 30px auto 0px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 45%, #6366f1 100%);
    box-shadow: 0 20px 30px rgba(15, 23, 42, 0.25);
}

.nav-link {
    transition: color 0.2s ease-in-out;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.75) !important;
}

.nav-link,
.navbar-brand {
    letter-spacing: 0.2px;
}

/* Footer */
footer {
    margin-top: auto;
    border-top: 1px solid #dee2e6;
    background: #ffffff;
}

/* Article Content */
.article-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-content p {
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar-logo {
        height: 30px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .card-body h2 {
        font-size: 1.5rem;
    }
}

/* Loading spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
