
:root {
  --bs-primary: #34336b;
  --bs-primary-rgb: 52, 51, 107;
  --bs-primary-hover: #41407c;
  --bs-primary-bg-subtle: #34336b33;
  --bs-secondary: #9a3a47;
  --bs-secondary-rgb: 154, 58, 71;
  --bs-secondary-hover: #a03a47;
  --bs-secondary-light: #ac646c;
}

img.logo {
  max-width: 150px;
}

.header-bg {
    background: linear-gradient(#d4d3e1, #b2b2ca);
}

.titulo-pagina {
padding-bottom: 0px;
}

.titulo-pagina .content {
    padding-top: 25px;
  padding-bottom: 25px;
  background-color: var(--bs-secondary);
  color: var(--bs-white) !important;
}

.titulo-pagina .content .rounded-borders .rounded-border-1, 
.titulo-pagina .content .rounded-borders .rounded-border-2, 
.titulo-pagina .content .rounded-borders .rounded-border-3 {
    border: 1px solid var(--bs-secondary-light);
}

.titulo-pagina h2 {
  color: var(--bs-white) !important;
}
.fbs__net-navbar .header-social .btn,
.fbs__net-navbar.active .header-social .btn {
  background-color: var(--bs-secondary) !important;
  border-color: var(--bs-secondary-light);
}

.btn.btn-primary {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary);
}

.btn.btn-secondary {
  background-color: var(--bs-secondary) !important;
  border-color: var(--bs-secondary);
}

.page-bg {
    background: linear-gradient(135deg, #eaeaf1 0%, #d0d0e4 50%, #eaeaf1 100%);
    position: relative;
    overflow: hidden;
}

.page-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(72, 187, 120, 0.05) 0%, transparent 50%);
}

.page-pattern {
    position: relative;
    z-index: 1;
}

.card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.6) !important;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shapes::before,
.floating-shapes::after {
    content: '';
    position: absolute;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-shapes::before {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-shapes::after {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 10%;
    animation-delay: 3s;
}

.footer {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.55) !important;
}

.navbar.page, .navbar.active {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.55) !important;
}

/* Menu Mobile Minimalista e Funcional */
@media (max-width: 991.98px) {
    .fbs__net-navbar .navbar-nav > li > .nav-link::before {
        display: none;
    }

    /* Offcanvas base */
    .offcanvas.offcanvas-start {
        background: white;
        border: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        width: 350px !important;
        max-width: 85vw;
        height: 100vh;
    }
    
    /* Header do menu */
    .offcanvas-header {
        background: var(--bs-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 1.5rem;
        backdrop-filter: blur(10px);
    }
    
    .offcanvas-header .logo {
        max-width: 120px;
        filter: brightness(0) invert(1); /* Torna o logo branco */
    }
    
    .btn-close {
        background: rgba(255, 255, 255, 0.2) !important;
        border-radius: 50% !important;
        opacity: 1 !important;
        width: 35px !important;
        height: 35px !important;
        transition: all 0.3s ease;
        color: white !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .btn-close::before {
        color: white !important;
        filter: invert(1) !important;
    }
    
    .btn-close:hover {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: scale(1.1);
    }
    
    .btn-close:hover svg {
        color: white !important;
        fill: white !important;
        stroke: white !important;
    }
    
    /* Força o ícone X a ser branco - Bootstrap override */
    .offcanvas .btn-close,
    .offcanvas-header .btn-close {
        background-image: none !important;
    }
    
    .offcanvas .btn-close::after,
    .offcanvas-header .btn-close::after {
        content: "✕" !important;
        color: white !important;
        font-size: 18px !important;
        font-weight: bold !important;
        line-height: 1 !important;
    }
    
    /* Body do menu */
    .offcanvas-body {
        padding: 2rem 1.5rem;
        background: white;
    }
    
    /* Lista de navegação */
    .offcanvas .navbar-nav {
        gap: 0.5rem;
        width: 100%;
    }
    
    .offcanvas .nav-item {
        margin-bottom: 0.25rem;
        width: 100%;
    }
    
    /* Links do menu */
    .offcanvas .nav-link {
        color: var(--bs-dark) !important;
        background: rgba(52, 51, 107, 0.05);
        border: 1px solid rgba(52, 51, 107, 0.1);
        border-radius: 12px;
        padding: 1rem 1.25rem !important;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        font-size: 1rem;
        width: 100%;
        margin: 0;
        text-align: left;
    }
    
    .offcanvas .nav-link:hover {
        background: var(--bs-primary) !important;
        color: white !important;
        transform: translateX(8px);
        border-color: var(--bs-primary);
        box-shadow: 0 5px 15px rgba(52, 51, 107, 0.2);
    }

    .fbs__net-navbar .navbar-nav > li > .nav-link:hover, .fbs__net-navbar .navbar-nav > li > .nav-link:focus {
        color: var(--bs-white) !important;
    }
    
    .offcanvas .nav-link.active {
        background: var(--bs-secondary) !important;
        color: white !important;
        border-color: var(--bs-secondary);
        box-shadow: 0 4px 15px rgba(154, 58, 71, 0.15);
        font-weight: 600;
    }
    
    /* Ícones nos links (se houver) */
    .offcanvas .nav-link i {
        margin-right: 10px;
        font-size: 1.1rem;
        opacity: 0.7;
    }
    
    /* Backdrop personalizado */
    .offcanvas-backdrop {
        background: rgba(52, 51, 107, 0.4) !important;
        backdrop-filter: blur(4px);
    }
    
    .offcanvas-backdrop.show {
        opacity: 1 !important;
    }
    
    /* Botão de toggle personalizado */
    .fbs__net-navbar-toggler {
        background: var(--bs-secondary) !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        transition: all 0.3s ease;
    }
    
    .fbs__net-navbar-toggler:hover {
        background: var(--bs-secondary-hover) !important;
        transform: scale(1.05);
        border-color: rgba(255, 255, 255, 0.4) !important;
    }
    
    .fbs__net-navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(154, 58, 71, 0.3) !important;
    }
    
    /* Animações suaves */
    .offcanvas.offcanvas-start {
        transition: transform 0.3s ease-in-out;
    }
    
    .offcanvas .nav-link {
        position: relative;
        overflow: hidden;
    }
    
    .offcanvas .nav-link::before {
        content: '';
        position: absolute;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .offcanvas .nav-link:hover::before {
        left: 100%;
    }
    
    /* Estado quando o menu está ativo */
    .mobile-menu-active body {
        overflow: hidden;
    }
    
    /* Responsivo para telas muito pequenas */
    @media (max-width: 576px) {
        .offcanvas.offcanvas-start {
            width: 90% !important;
        }
        
        .offcanvas-header {
            padding: 1rem;
        }
        
        .offcanvas-body {
            padding: 1.5rem 1rem;
        }
        
        .offcanvas .nav-link {
            padding: 0.875rem 1rem !important;
            font-size: 0.95rem;
        }
    }
}

main {
    min-height: calc(100vh - 85px);
}

/* Palestrantes Page Styles */
.palestrante-card {
    position: relative;
    z-index: 1;
}

.palestrante-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bs-primary);
    margin: 0 auto 1rem auto;
    display: block;
    transition: all 0.3s ease;
}

.palestrante-card:hover .palestrante-avatar {
    transform: scale(1.05);
    border-color: var(--bs-secondary);
}

.palestrante-nome {
    color: var(--bs-primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.palestrante-tema {
    color: var(--bs-secondary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-style: italic;
}

.palestrante-curriculo {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

.palestrante-curriculo::-webkit-scrollbar {
    width: 4px;
}

.palestrante-curriculo::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.palestrante-curriculo::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 2px;
}

.section-title {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.icon-wrapper-palestrante {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    box-shadow: 0 8px 20px rgba(52, 51, 107, 0.3);
}

.icon-wrapper-palestrante i {
    font-size: 1.5rem;
    color: white;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .palestrante-avatar {
        width: 100px;
        height: 100px;
    }
    
    .palestrante-curriculo {
        max-height: 150px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Inscription Page Styles */
.inscricao-header-card {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    color: white;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.investimentos-card .table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.investimentos-card .table th {
    background: var(--bs-primary);
    color: white;
    border: none;
    font-weight: 600;
}

.investimentos-card .table td {
    border-color: rgba(52, 51, 107, 0.1);
    padding: 0.75rem;
    vertical-align: middle;
}

.investimentos-card .table td.today_price {
    background: rgba(52, 51, 107, 0.1);
    font-weight: 600;
    color: var(--bs-primary);
}

.form-section-card {
    position: relative;
    z-index: 1;
}

.form-section-card .card-body {
    padding: 2rem;
}

.card .form-label {
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

.card:hover .form-control,
.card:hover .form-select,
.card:active .form-control,
.card:active .form-select
{
    background-color: #fff;
}

.card .form-control,
.card .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.card .form-control:focus,
.card .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(52, 51, 107, 0.15);
    transform: translateY(-1px);
}

.login-redirect-card {
    background: linear-gradient(135deg, rgba(52, 51, 107, 0.1), rgba(154, 58, 71, 0.1));
    border: 2px solid rgba(52, 51, 107, 0.2);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.alert-modern {
    border: none;
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.alert-modern.alert-info {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.1), rgba(13, 110, 253, 0.1));
    border-left: 4px solid #0dcaf0;
}

.alert-modern.alert-primary {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.1));
    border-left: 4px solid #0d6efd;
}

.alert-modern.alert-success {
    background: linear-gradient(135deg, rgba(13, 198, 12, 0.1), rgba(13, 110, 253, 0.1));
    border-left: 4px solid #198754;
}

.alert-modern.alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.1));
    border-left: 4px solid #ffc107;
}

.alert-modern.alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.1));
    border-left: 4px solid #dc3545;
}

@media (max-width: 768px) {
    .form-section-card .card-body {
        padding: 1.5rem;
    }
    
    .investimentos-card .table {
        font-size: 0.9rem;
    }
    
    .payment-methods-card img {
        max-width: 150px;
    }
}

/* Auth Pages Styles */
.auth-card {
    max-width: 500px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.auth-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 10px 30px rgba(52, 51, 107, 0.3);
}

.auth-icon-wrapper i {
    font-size: 2rem;
    color: white;
}

.auth-title {
    color: var(--bs-primary);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.auth-form .form-label {
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.auth-form .form-label i {
    margin-right: 0.5rem;
    color: var(--bs-secondary);
}

.btn-cta {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    transition: all 0.3s ease;
    width: 100%;
    text-decoration: none;
    white-space: nowrap;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 51, 107, 0.4);
    color: white;
}

.auth-link {
    color: var(--bs-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: var(--bs-primary);
    text-decoration: underline;
}

.password-recovery-info {
    background: linear-gradient(135deg, rgba(52, 51, 107, 0.05), rgba(154, 58, 71, 0.05));
    border: 1px solid rgba(52, 51, 107, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .auth-card {
        margin: 1rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .auth-icon-wrapper i {
        font-size: 1.5rem;
    }
}

/* Dashboard/Panel Styles */
.dashboard-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.dashboard-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 8px 20px rgba(52, 51, 107, 0.3);
}

.dashboard-icon-wrapper i {
    font-size: 1.5rem;
    color: white;
}

.dashboard-menu {
    position: sticky;
    top: 2rem;
}

.dashboard-menu .list-group-item {
    border: none;
    border-radius: 12px !important;
    margin-bottom: 0.5rem;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: none;
}

.dashboard-menu .list-group-item:hover {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    color: white;
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(52, 51, 107, 0.3);
}

.dashboard-menu .list-group-item.active {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    color: white;
    border-color: transparent;
}

.dashboard-menu .list-group-item i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: linear-gradient(135deg, #ffc107, #ff8f00);
    color: white;
}

.status-approved {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.welcome-card {
    background: linear-gradient(135deg, rgba(52, 51, 107, 0.1), rgba(154, 58, 71, 0.1));
    border: 2px solid rgba(52, 51, 107, 0.2);
    border-radius: 20px;
}

.payment-info-card {
    background: linear-gradient(135deg, rgba(52, 51, 107, 0.05), rgba(154, 58, 71, 0.05));
    border: 1px solid rgba(52, 51, 107, 0.1);
    border-radius: 15px;
}

@media (max-width: 768px) {
    .dashboard-menu {
        position: static;
        margin-bottom: 2rem;
    }
    
    .dashboard-menu .list-group-item:hover {
        transform: none;
    }
    
    .dashboard-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .dashboard-icon-wrapper i {
        font-size: 1.25rem;
    }
}

/* Additional responsive adjustments for forms */
@media (max-width: 768px) {
    .dashboard-content h2 {
        font-size: 1.5rem;
    }
    
    .row.g-3 {
        margin: 0 -0.5rem;
    }
    
    .row.g-3 > * {
        padding: 0 0.5rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
}

/* Certificate Page Styles */
.certificate-section {
    margin-bottom: 2rem;
}

.certificate-header {
    border-bottom: 2px solid rgba(52, 51, 107, 0.1);
    padding-bottom: 0.75rem;
}

.certificate-list {
    margin-top: 1rem;
}

.certificate-item {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 0.75rem;
}

.certificate-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 51, 107, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 51, 107, 0.1), transparent);
    transition: left 0.5s ease;
}

.certificate-card:hover::before {
    left: 100%;
}

.certificate-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 51, 107, 0.15);
    border-color: var(--bs-primary);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
}

.certificate-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bs-primary), #4c63d2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.certificate-card:hover .certificate-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 15px rgba(52, 51, 107, 0.3);
}

.certificate-action {
    width: 40px;
    height: 40px;
    background: rgba(52, 51, 107, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.certificate-card:hover .certificate-action {
    background: var(--bs-primary);
    color: white;
    transform: scale(1.1);
}

.certificate-card h6 {
    color: #2c3e50;
    transition: color 0.3s ease;
}

.certificate-card:hover h6 {
    color: var(--bs-primary);
}

/* Responsive adjustments for certificates */
@media (max-width: 768px) {
    .certificate-card {
        padding: 0.75rem;
    }
    
    .certificate-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .certificate-action {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .certificate-card h6 {
        font-size: 0.9rem;
    }
}

/* Course Page Styles */
.courses-list {
    margin-top: 1rem;
}

.course-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 51, 107, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 51, 107, 0.1), transparent);
    transition: left 0.5s ease;
}

.course-card:hover::before {
    left: 100%;
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 51, 107, 0.15);
    border-color: var(--bs-primary);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
}

.course-card.enrolled {
    border-color: #198754;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.05), rgba(255, 255, 255, 0.9));
}

.course-card.enrolled:hover {
    border-color: #198754;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(255, 255, 255, 0.95));
}

.course-title {
    color: #2c3e50;
    font-weight: 600;
    transition: color 0.3s ease;
}

.course-card:hover .course-title {
    color: var(--bs-primary);
}

.course-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.course-price {
    background: rgba(52, 51, 107, 0.1);
    color: var(--bs-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.course-status {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.course-urgency {
    background: rgba(255, 193, 7, 0.3);
    color: #ae923f;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Course Details Page Styles */
.course-details {
    margin-top: 1rem;
}

.detail-item {
    background: rgba(248, 249, 250, 0.8);
    border: 1px solid rgba(52, 51, 107, 0.1);
    border-radius: 10px;
    padding: 1rem;
    height: 100%;
}

.detail-label {
    display: block;
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.detail-value {
    color: #2c3e50;
    line-height: 1.5;
}

.course-description {
    padding-right: 0.5rem;
}

.course-description::-webkit-scrollbar {
    width: 4px;
}

.course-description::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.course-description::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 2px;
}

.speakers-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.speaker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.speaker-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(52, 51, 107, 0.1);
}

.speaker-name {
    font-weight: 500;
    color: #2c3e50;
}

.course-price-paid {
    color: var(--bs-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.course-price-free {
    color: #198754;
    font-weight: 600;
    font-size: 1.1rem;
}

.enrollment-section,
.enrollment-status {
    background: rgba(248, 249, 250, 0.8);
    border: 1px solid rgba(52, 51, 107, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

/* Responsive adjustments for courses */
@media (max-width: 768px) {
    .course-card {
        padding: 1rem;
    }
    
    .course-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .detail-item {
        padding: 0.75rem;
    }
    
    .detail-label {
        font-size: 0.85rem;
    }
    
    .speaker-avatar {
        width: 35px;
        height: 35px;
    }
    
    .course-title {
        font-size: 0.9rem;
    }
}

/* ========================================
   END CATEGORY UPDATE PAGE STYLES
   ======================================== */

/* ========================================
   WORKS PAGE STYLES
   ======================================== */

.works-stats-section {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.1), rgba(0, 102, 204, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.5rem;
    color: #0056b3;
}

.stat-content {
    flex: 1;
}

.stat-title {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0056b3;
    line-height: 1;
}

.works-table-section {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 1.5rem;
}

.works-table {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
}

.works-table thead th {
    background: linear-gradient(135deg, #0056b3, #0066cc);
    color: white;
    border: none;
    font-weight: 600;
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
}

.works-table tbody td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.works-table tbody tr:hover {
    background-color: rgba(0, 86, 179, 0.05);
}

.work-title {
    font-weight: 600;
    color: #495057;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.submission-info-card {
    background: rgba(0, 86, 179, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 86, 179, 0.1);
}

.action-section {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Badge improvements */
.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

/* Button group improvements */
.btn-group-sm .btn {
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 6px;
}

.btn-outline-primary:hover,
.btn-outline-warning:hover,
.btn-outline-danger:hover {
    transform: translateY(-1px);
}

/* Modal improvements */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

/* Responsive adjustments for works page */
@media (max-width: 768px) {
    .works-stats-section {
        padding: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
        text-align: center;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon i {
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .works-table-section {
        padding: 1rem;
    }
    
    .works-table thead th,
    .works-table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .work-title {
        max-width: 200px;
    }
    
    .btn-group-sm .btn {
        padding: 0.25rem 0.375rem;
    }
    
    .action-section {
        padding: 1rem;
    }
    
    .submission-info-card {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .btn-cta {
        padding: 12px 15px;
    }

    .works-table {
        font-size: 0.8rem;
    }
    
    .work-title {
        max-width: 150px;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        border-radius: 4px !important;
        margin-bottom: 2px;
    }
}

/* ========================================
   END WORKS PAGE STYLES
   ======================================== */

/* Investment Table */
.investment-table {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.investment-table thead th {
    background: linear-gradient(135deg, #0056b3, #0066cc);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1rem;
    text-align: center;
    position: relative;
}

.investment-table thead th::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.investment-table tbody td {
    padding: 1rem;
    text-align: center;
    vertical-align: middle;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.investment-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

.investment-table tbody tr:last-child td {
    border-bottom: none;
}

/* Price Styling */
.price-free {
    color: #28a745;
    text-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.price-paid {
    color: #0056b3;
    text-shadow: 0 2px 4px rgba(0, 86, 179, 0.2);
}

/* Payment Form Section */
.payment-form-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.payment-summary {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Dashboard Payment Status */
.dashboard-payment-status {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.9));
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.dashboard-payment-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0056b3, #0066cc, #0056b3);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

/* Payment Methods Icons */
.payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.payment-icon {
    width: 48px;
    height: 32px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.payment-icon:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .investment-table {
        font-size: 0.875rem;
    }
    
    .investment-table thead th,
    .investment-table tbody td {
        padding: 0.75rem 0.5rem;
    }
    
    .payment-form-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .dashboard-payment-status {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .investment-table {
        font-size: 0.8rem;
    }
    
    .investment-table thead th,
    .investment-table tbody td {
        padding: 0.5rem 0.25rem;
    }
    
    .payment-icon {
        width: 40px;
        height: 28px;
    }
}

/* ========================================
   PAYMENT PAGE STYLES (ADDITIONAL)
   ======================================== */

/* Payment Card */
.payment-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* Order Summary Table */
.order-summary-table {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: none;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.order-summary-table thead th {
    background: linear-gradient(135deg, #0056b3, #0066cc);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.order-summary-table tbody td,
.order-summary-table tfoot td,
.order-summary-table tfoot th {
    border: none;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
}

.order-summary-table .table-success td {
    background: rgba(40, 167, 69, 0.1);
}

.order-summary-table .table-primary th {
    background: rgba(0, 86, 179, 0.1);
    font-weight: 700;
}

/* Coupon Section */
.coupon-section {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.coupon-toggle {
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-toggle:hover {
    transform: translateX(5px);
}

.coupon-arrow {
    transition: transform 0.3s ease;
}

.coupon-form {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Payment Methods Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.payment-method-card {
    position: relative;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-height: 140px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.payment-method-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 86, 179, 0.3);
}

.payment-method-card.selected {
    border-color: #0056b3;
    background: rgba(0, 86, 179, 0.08);
    box-shadow: 0 12px 35px rgba(0, 86, 179, 0.25);
    transform: translateY(-2px);
}

.payment-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-method-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    cursor: pointer;
    text-align: center;
    margin: 0;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
}

.payment-method-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.02), rgba(0, 102, 204, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-method-card.selected .payment-method-label::before {
    opacity: 1;
}

.payment-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.12), rgba(0, 102, 204, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    line-height: 35px;
}

.payment-method-card.selected .payment-icon-wrapper {
    background: linear-gradient(135deg, #0056b3, #0066cc);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
}

.payment-icon {
    font-size: 1.8rem;
    color: #0056b3;
    transition: all 0.4s ease;
}

.payment-method-card.selected .payment-icon {
    color: white;
    transform: scale(1.1);
}

.payment-method-name {
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.payment-method-card.selected .payment-method-name {
    color: #0056b3;
    transform: scale(1.05);
}

.payment-method-desc {
    font-size: 0.85rem;
    color: #6c757d;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.payment-method-card.selected .payment-method-desc {
    color: #495057;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .payment-method-card {
        min-height: 120px;
    }
    
    .payment-method-label {
        padding: 1.5rem 1rem;
    }
    
    .payment-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .payment-icon {
        font-size: 1.5rem;
    }
    
    .payment-method-name {
        font-size: 1rem;
    }
    
    .payment-method-desc {
        font-size: 0.8rem;
    }
}

/* Form Sections */
.user-data-section,
.card-data-section {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-number-input {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

/* Free Payment Section */
.free-payment-section {
    background: rgba(40, 167, 69, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid rgba(40, 167, 69, 0.2);
}

.free-payment-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

/* Security Note */
.security-note {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Payment Modal */
.payment-modal .modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.payment-modal .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* PIX Code Section */
.pix-qr-code {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    display: inline-block;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.pix-code-section .form-control {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-align: center;
}

/* Loading Animation for Processing */
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

.lds-ellipsis div {
    position: absolute;
    top: 27px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #0056b3;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 6px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 6px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 26px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 45px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes lds-ellipsis3 {
    0% { transform: scale(1); }
    100% { transform: scale(0); }
}

@keyframes lds-ellipsis2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(19px, 0); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-method-label {
        padding: 1rem 0.5rem;
    }
    
    .payment-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .payment-icon {
        font-size: 1.25rem;
    }
    
    .user-data-section,
    .card-data-section {
        padding: 1rem;
    }
    
    .order-summary-table thead th,
    .order-summary-table tbody td,
    .order-summary-table tfoot td,
    .order-summary-table tfoot th {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .payment-method-card {
        margin-bottom: 0.5rem;
    }
    
    .coupon-section {
        padding: 1rem;
    }
}

.category-selection-section {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-info-card {
    background: rgba(13, 110, 253, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(13, 110, 253, 0.1);
    transition: all 0.3s ease;
}


@media (max-width: 768px) {
    .category-selection-section {
        padding: 1rem;
    }
}

/* ========== Work Packages Styles ========== */
.packages-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: none;
}

.packages-table thead {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    color: white;
}

.packages-table thead th {
    border: none;
    padding: 20px 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.packages-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.packages-table tbody tr:hover {
    background: rgba(13, 110, 253, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.packages-table tbody td {
    padding: 20px 15px;
    vertical-align: middle;
    border: none;
}

.package-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--bs-primary), #4c63d2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.package-summary {
    border-radius: 10px;
    border-left: 4px solid var(--bs-primary);
}

.payment-pending-section .alert {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-info-section .alert {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.notices-section .alert {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid;
}

.notices-section .alert-info {
    border-left-color: var(--bs-info);
}

.notices-section .alert-warning {
    border-left-color: var(--bs-warning);
}

.packages-section h5 {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(52, 51, 107, 0.1);
}

/* Responsive adjustments for packages table */
@media (max-width: 768px) {
    .packages-table thead th,
    .packages-table tbody td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .package-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .notices-section .row {
        --bs-gutter-x: 0.5rem;
    }
}

/* ========== Work Submission Styles ========== */
.work-classification-section,
.work-content-section,
.authors-section {
    background: rgba(248, 249, 250, 0.6);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.section-title {
    position: relative;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(52, 51, 107, 0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--bs-primary), #4c63d2);
    border-radius: 2px;
}

.character-counter-wrapper {
    position: relative;
}

.character-counter {
    position: absolute;
    bottom: 8px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #6c757d;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.coauthor-field {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.coauthor-field:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(13, 110, 253, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-control-plaintext {
    background: rgba(248, 249, 250, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Work edit specific styles */
.work-info-section {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05), rgba(255, 255, 255, 0.9));
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(13, 110, 253, 0.1);
    margin-bottom: 2rem;
}

.work-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.work-status-badge.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.work-status-badge.approved {
    background: rgba(25, 135, 84, 0.2);
    color: #0a3622;
    border: 1px solid rgba(25, 135, 84, 0.3);
}

.work-status-badge.rejected {
    background: rgba(220, 53, 69, 0.2);
    color: #58151c;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Form enhancements */
.form-select,
.form-control {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
    background: white;
}

.form-label.fw-semibold {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.form-text {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Modal enhancements for coauthor */
.modal-content .alert-modern {
    border-radius: 10px;
    border: none;
    background: rgba(13, 202, 240, 0.1);
    border-left: 4px solid var(--bs-info);
}

/* Responsive adjustments for work forms */
@media (max-width: 768px) {
    .work-classification-section,
    .work-content-section,
    .authors-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .character-counter {
        position: static;
        display: block;
        text-align: right;
        margin-top: 0.5rem;
        background: transparent;
        border: none;
        padding: 0;
    }
    
    .coauthor-field {
        padding: 0.75rem;
    }
    
    .d-flex.gap-2 {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .d-flex.gap-2 .btn {
        align-self: flex-start;
    }
}

/* ========================================
   WORK DETAIL VIEW PAGE STYLES
   ======================================== */

.work-detail-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.work-detail-body {
    padding: 2rem;
}

.work-detail-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.work-detail-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.work-detail-section-title {
    color: var(--bs-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.work-detail-content {
    color: #2c3e50;
    line-height: 1.7;
}

.work-classification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.work-classification-item {
    background: rgba(248, 249, 250, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 1rem;
}

.work-classification-label {
    font-weight: 600;
    color: var(--bs-primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.work-classification-value {
    color: #2c3e50;
    font-size: 0.95rem;
}

.work-authors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.work-author-item {
    background: rgba(13, 110, 253, 0.1);
    color: var(--bs-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.work-author-item.main-author {
    background: var(--bs-primary);
    color: white;
}

.work-status-display {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.work-status-display.status-pending {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.work-status-display.status-approved {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.2), rgba(25, 135, 84, 0.1));
    color: #0a3622;
    border: 1px solid rgba(25, 135, 84, 0.3);
}

.work-status-display.status-rejected {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.1));
    color: #58151c;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.work-comments-section {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.work-comments-title {
    color: #856404;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.work-comments-content {
    color: #2c3e50;
    line-height: 1.6;
    font-style: italic;
}

.work-actions-section {
    background: rgba(248, 249, 250, 0.8);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.work-actions-section {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(248, 249, 250, 0.5);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.work-actions-section .btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.work-actions-section .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for work detail */
@media (max-width: 768px) {
    .work-detail-header {
        padding: 1rem;
    }
    
    .work-detail-title {
        font-size: 1.2rem;
    }
    
    .work-detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .work-detail-body {
        padding: 1.5rem 1rem;
    }
    
    .work-classification-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .work-classification-item {
        padding: 0.75rem;
    }
    
    .work-actions-section {
        padding: 1rem;
        flex-direction: column;
    }
    
    .work-action-btn {
        justify-content: center;
        text-align: center;
    }
}

/* ========================================
   END WORK DETAIL VIEW PAGE STYLES
   ======================================== */

/* ========================================
   VALIDATION PAGE STYLES
   ======================================== */

.validation-form-section {
    position: relative;
}

.validation-info .feature-item {
    padding: 1rem;
    transition: all 0.3s ease;
}

.validation-info .feature-item:hover {
    transform: translateY(-2px);
}

.validation-info .feature-item i {
    transition: all 0.3s ease;
}

.validation-info .feature-item:hover i {
    transform: scale(1.1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Success alert enhancements for validation results */
.alert-success.alert-modern {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(25, 135, 84, 0.05));
    border: 1px solid rgba(25, 135, 84, 0.2);
    backdrop-filter: blur(10px);
}

.alert-success.alert-modern strong u {
    color: var(--bs-success);
    text-decoration-color: var(--bs-success);
}

/* Responsive adjustments for validation page */
@media (max-width: 768px) {
    .validation-info .row {
        text-align: center;
    }
    
    .validation-info .feature-item {
        margin-bottom: 1rem;
    }
}

/* ========================================
   END VALIDATION PAGE STYLES
   ======================================== */

.form-select {
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  appearance: menulist;
}