/* ============================================
   deDesigned Main Stylesheet
   ============================================ */

/* Navbar Styles */
.navbar-brand .logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
}

.navbar-brand .logo-img {
    max-height: 32px;
    width: auto;
    display: inline-block;
}

.navbar-brand:has(.logo-img) .logo-text {
    margin-left: 0.5rem;
}

.navbar {
    background-color: #f8f9fa !important;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1040;
}

.navbar .navbar-nav {
    gap: 0.5rem;
}

.navbar .nav-item {
    display: flex;
    align-items: center;
}

.navbar .nav-link {
    color: #495057 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
}

.navbar .nav-link:hover {
    color: #212529 !important;
    background-color: #f8f9fa;
}

.navbar .badge {
    margin-left: 0 !important;
}

.navbar .navbar-brand {
    margin-right: 2rem;
}

@media (max-width: 991px) {
    .navbar .navbar-nav {
        gap: 0.25rem;
        margin-top: 1rem;
    }
    
    .navbar .nav-link {
        padding: 0.75rem 1rem !important;
    }
}

/* Standardized Design System */
.content-box {
    background-color: #f5f5f5;
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.content-box h2,
.content-box h3,
.content-box h4 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.content-box h2 {
    font-size: 1.75rem;
}

.content-box h3 {
    font-size: 1.5rem;
}

.content-box h4 {
    font-size: 1.25rem;
}

.content-box .section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

/* Button Styles */
.btn-primary {
    background-color: #000;
    border-color: #000;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: #333;
    border-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary i,
.btn-outline-primary i,
.btn-outline-secondary i {
    font-size: 1rem;
    vertical-align: middle;
}

.btn-outline-primary {
    border-color: #000;
    color: #000;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline-primary:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.btn-outline-secondary {
    border-color: #e0e0e0;
    color: #666;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
    color: #212529;
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

/* Card Styles */
.card-modern {
    background-color: #f5f5f5;
    border-radius: 16px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-modern .card-body {
    padding: 1.5rem;
}

/* Badge Styles */
.badge-modern {
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-weight: 500;
}

/* Credit Display Styles */
.credits-display {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.credits-display .credits-label {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.credits-display .credits-value {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.credits-display .credits-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    line-height: 1;
}

.credits-display .credits-unit {
    color: #6c757d;
    font-size: 0.875rem;
}

.credits-display .credits-icon {
    color: #ffc107;
    font-size: 1.25rem;
}

/* Compact inline credit display for badges */
.credits-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-weight: 500;
}

.credits-badge .credits-icon {
    color: #ffc107;
    font-size: 0.875rem;
}

.credits-badge .credits-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
}

/* Layout Styles */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Empty State Styles */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.empty-state > i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state .btn i {
    font-size: 1rem !important;
    opacity: 1 !important;
    margin-bottom: 0 !important;
}

.empty-state h5 {
    color: #666;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #999;
    margin-bottom: 1.5rem;
}

.empty-state .btn {
    display: inline-block;
    width: auto;
}

/* Body Background */
body {
    background-color: #ffffff;
}

/* Email Verification Banner */
.email-verification-banner {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1050;
}

/* Footer Styles */
footer {
    background-color: #f8f9fa;
    margin-top: auto;
}

footer a:hover {
    color: #212529 !important;
    text-decoration: underline !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .content-box {
        padding: 1.5rem;
    }
    
    .page-container {
        padding: 1rem 0;
    }
}

