html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-image: url('/static/img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Dark mode for tasks page */
body.tasks-page {
    background: #121212 !important;
    background-image: none !important;
    color: #ffffff;
}

/* No scroll for dashboard page */
body.dashboard-page {
    height: 100vh;
    overflow: hidden;
}

/* User Info Bar */
.user-info-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(30, 30, 30, 0.9));
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.left-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.user-welcome i {
    font-size: 24px;
    color: #ffd700;
}

.user-stats {
    display: flex;
    gap: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: white;
    font-weight: 500;
}

.stat-item i {
    color: #ffd700;
    font-size: 16px;
}

.stat-item span {
    font-size: 18px;
    font-weight: bold;
}

.stat-item small {
    font-size: 12px;
    opacity: 0.8;
    margin-left: 4px;
}

/* Left and Right Sections */
.left-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

.right-section {
    display: flex;
    align-items: center;
}

/* Clickable stat items */
/* Right Section Stats Cards */
.user-stats-right {
    display: flex;
    gap: 15px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    padding: 10px 15px;
    border-radius: 10px;
    border: none;
    color: #000;
    font-weight: 600;
    min-width: 90px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 14px;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.stat-icon i {
    color: #000;
    font-size: 14px;
    transition: all 0.3s ease;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    line-height: 1;
}

.stat-label {
    font-size: 10px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin-top: 1px;
    font-weight: 600;
}

.stat-card:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}



.stat-card:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

/* Dashboard Container */
.dashboard-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 140px);
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    margin-top: 60px;
    padding: 0 20px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Responsividade para dashboard */
@media (max-width: 768px) {
    .dashboard-container {
        margin-top: 40px;
        height: calc(100vh - 125px);
        padding: 0 15px;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .dashboard-header {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .dashboard-header h1 {
        font-size: 24px;
        flex-direction: column;
        gap: 10px;
    }
    
    .dashboard-header h1 i {
        font-size: 28px;
    }
    
    .dashboard-section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .section-header h2 {
        font-size: 20px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .dashboard-container {
        margin-top: 30px;
        height: calc(100vh - 110px);
        padding: 0 10px;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .dashboard-header {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    
    .dashboard-header h1 {
        font-size: 20px;
    }
    
    .dashboard-header h1 i {
        font-size: 24px;
    }
    
    .dashboard-section {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    
    .section-header h2 {
        font-size: 18px;
    }
}

.dashboard-container h1 {
    margin-bottom: 20px;
    font-size: 24px;
}

.dashboard-container div {
    margin-bottom: 20px;
    text-align: center;
}

/* Bottom Navigation Bar */
.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(30, 30, 30, 0.95));
    backdrop-filter: blur(20px);
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.navbar-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsividade para barra de navegação */
@media (max-width: 768px) {
    .bottom-navbar {
        height: 90px;
    }
    
    .navbar-container {
        padding: 0 10px;
    }
    
    .nav-btn {
        min-width: 60px;
        height: 70px;
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .nav-btn i {
        font-size: 18px;
    }
    
    .nav-btn span {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .bottom-navbar {
        height: 100px;
    }
    
    .navbar-container {
        padding: 0 5px;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .nav-btn {
        min-width: 50px;
        height: 60px;
        padding: 4px 6px;
        font-size: 10px;
        border-radius: 8px;
    }
    
    .nav-btn i {
        font-size: 16px;
    }
    
    .nav-btn span {
        font-size: 9px;
        line-height: 1.2;
    }
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 70px;
    height: 60px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

.nav-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    border-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    color: white;
}

.nav-btn i {
    font-size: 20px;
    color: #ffd700;
    margin-bottom: 2px;
}

.nav-btn span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.nav-btn.logout-btn {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.8), rgba(200, 35, 51, 0.8));
    border-color: rgba(220, 53, 69, 0.5);
}

.nav-btn.logout-btn:hover {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.9), rgba(200, 35, 51, 0.9));
    border-color: #dc3545;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.nav-btn.logout-btn i {
    color: #ff6b7a;
}

/* Tooltip Styles */
.tooltip {
    position: absolute;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(30, 30, 30, 0.9));
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 10000;
    display: none;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
}

.tasks-modal .tasks-table-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
    z-index: 1;
}

.tasks-modal .tasks-table-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.03), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

/* Enhanced Tasks Modal */
.tasks-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tasks-modal .modal-content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(30, 30, 30, 0.9));
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    width: 95%;
    max-width: 1400px;
    height: 95vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: auto;
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 215, 0, 0.1);
    position: relative;
}

.modal-header h2 {
    color: #ffd700;
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.close-btn {
    background: none;
    border: none;
    color: #ffd700;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.close-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: rotate(90deg);
}

.tasks-modal .modal-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    gap: 20px;
}

/* Profile Picture Styles */
.profile-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.profile-picture-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.current-profile-picture {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
}

.current-profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.current-profile-picture i {
    font-size: 50px;
    color: #ffd700;
}

.profile-picture-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-picture-actions button {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.name-section {
     margin-top: 20px;
 }

.tasks-modal .tasks-table-container {
    margin-bottom: 0;
    border-radius: 15px;
    overflow-x: auto;
    overflow-y: auto;
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 215, 0, 0.02));
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 215, 0, 0.2);
    max-height: 40vh;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}





.tasks-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    z-index: 2;
}

.tasks-table th {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 215, 0, 0.15));
    color: #fff;
    padding: 20px 18px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 3px solid rgba(255, 215, 0, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tasks-table td {
    padding: 18px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.tasks-table tr:hover td {
    background: rgba(255, 215, 0, 0.05);
    color: #fff;
    transform: translateY(-1px);
}

.tasks-table th i {
    margin-right: 8px;
}

/* Tasks Controls */
.tasks-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.tasks-search-container {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.tasks-search-container i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 215, 0, 0.7);
    z-index: 1;
}

.tasks-search-container input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.tasks-search-container input:focus {
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(255, 255, 255, 0.15);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.tasks-filter-container select {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    min-width: 150px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tasks-filter-container select:focus {
    border-color: rgba(255, 215, 0, 0.6);
    outline: none;
}

.tasks-view-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 4px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.view-toggle-btn {
    padding: 8px 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.view-toggle-btn.active,
.view-toggle-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

/* Tasks Stats */
.tasks-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.stat-card i {
    font-size: 2rem;
    color: #ffd700;
    opacity: 0.8;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

/* Tasks Container */
.tasks-container {
    flex: 1;
    min-height: 0;
}

/* Tasks Cards Grid */
.tasks-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 10px;
}

.task-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.task-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.task-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.task-number {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8), rgba(255, 215, 0, 0.6));
    color: #000;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 50px;
    text-align: center;
}

.task-batch {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.task-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.task-codes {
    margin-bottom: 15px;
}

.task-codes-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.codes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.code-tag {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-family: monospace;
}

.task-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.task-delete-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.task-delete-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-1px);
}

/* Task Form */
.task-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    flex-shrink: 0;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    background: rgba(255, 215, 0, 0.05);
}

.form-toggle-btn {
    background: none;
    border: none;
    color: #ffd700;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-toggle-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.1);
}

.form-content {
    padding: 25px;
    transition: all 0.3s ease;
}

.form-content.collapsed {
    display: none;
}

/* Task Form Inputs and Buttons */
.task-form input[type="text"],
.task-form input[type="number"],
.task-form select,
.task-form textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.task-form input[type="text"]:focus,
.task-form input[type="number"]:focus,
.task-form select:focus,
.task-form textarea:focus {
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.task-form button {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8), rgba(255, 215, 0, 0.6));
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    padding: 12px 24px;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.task-form button:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 215, 0, 0.7));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.6);
}

.task-form button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

.task-form h3 {
    color: #ffd700;
    margin: 0 0 25px 0;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 15px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #ffd700;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.form-group label::before {
    content: '•';
    color: #ffd700;
    font-weight: bold;
    font-size: 16px;
}

.form-group input {
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    min-height: 48px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    visibility: visible;
    opacity: 1;
}

/* Responsividade para formulários */
@media (max-width: 768px) {
    .form-group input {
        padding: 12px 16px;
        font-size: 16px;
        min-height: 44px;
    }
    
    .form-group label {
        font-size: 14px;
        gap: 8px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions button {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .form-group input {
        padding: 10px 14px;
        font-size: 16px;
        min-height: 42px;
    }
    
    .form-group label {
        font-size: 13px;
        gap: 6px;
    }
    
    .form-group label::before {
        font-size: 14px;
    }
    
    .form-actions button {
        padding: 10px;
        font-size: 15px;
    }
}

.form-group input:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

/* Estilos específicos para campos do formulário de tarefas */
#taskNumber, #taskName, #batch {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    color: #fff !important;
    font-weight: 500;
}

#taskNumber:focus, #taskName:focus, #batch:focus {
    border-color: #ffd700 !important;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2) !important;
    background: rgba(255, 255, 255, 0.18) !important;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
}

/* Card Codes Section */
.card-codes-section {
    grid-column: 1 / -1;
    background: rgba(255, 215, 0, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    margin: 10px 0;
}

.card-codes-section > label {
    font-size: 17px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 18px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 8px;
}

.card-codes-section > label::before {
    content: '🎴';
    margin-right: 8px;
}

#cardCodesContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.card-code-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* .card-code-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.card-code-input:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.card-code-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
} */

.card-code-input {
    flex: 1;
}

.remove-code-btn {
    padding: 8px;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
}

.remove-code-btn:hover {
    background: linear-gradient(135deg, #ff3742, #ff2f3a);
    transform: scale(1.05);
}

.add-code-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #2ed573, #1dd1a1);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(46, 213, 115, 0.3);
    align-self: flex-start;
}

.add-code-btn:hover {
    background: linear-gradient(135deg, #1dd1a1, #2ed573);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 213, 115, 0.4);
}

.add-code-btn:hover {
    background: linear-gradient(135deg, #1dd1a1, #2ed573);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 213, 115, 0.3);
}

.add-code-btn i {
    font-size: 12px;
    transform: translateY(-2px);
}

/* Responsive Design for User Dashboard */
@media (max-width: 768px) {
    .user-info-bar {
        padding: 0 15px;
        height: 60px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .left-section {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .user-stats {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 80px;
    }
    
    /* Responsive styles for stat cards */
    .user-stats-right {
        gap: 8px;
    }
    
    .stat-card {
        min-width: 80px;
        padding: 6px 10px;
        gap: 6px;
    }
    
    .stat-icon {
        width: 28px;
        height: 28px;
    }
    
    .stat-icon i {
        font-size: 12px;
    }
    
    .stat-number {
        font-size: 14px;
    }
    
    .stat-label {
        font-size: 9px;
    }

    .dashboard-container {
        margin-top: 80px;
        padding-bottom: 90px;
        padding: 20px 15px 90px;
    }
    
    .bottom-navbar {
        height: 70px;
    }
    
    .navbar-container {
        padding: 0 10px;
    }
    
    .nav-btn {
        min-width: 50px;
        height: 50px;
        padding: 6px 8px;
        font-size: 10px;
    }
    
    .nav-btn i {
        font-size: 16px;
    }
    
    .nav-btn span {
        font-size: 9px;
    }
    
    .modal .modal-content {
        margin: 10px;
        max-height: 90vh;
        border-radius: 15px;
    }
    
    .tasks-modal .modal-content {
        margin: 10px !important;
        max-height: 95vh !important;
        height: 95vh !important;
        border-radius: 15px !important;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Melhorias para botões do dashboard */
    .custom-button {
        padding: 12px 20px;
        font-size: 14px;
        min-height: 45px;
    }
    
    /* Ajustes para seções de tarefas */
    #tasksSection {
        width: 95%;
        max-width: 100%;
        padding: 15px;
        margin: 10px;
    }
}

/* Enhanced Gringots Page Styles */
body.gringots-page-enhanced {
    background-image: url('/static/img/gringots-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Gringots Header */
.gringots-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(30, 30, 30, 0.95));
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.gringots-title {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.gringots-title i {
    font-size: 28px;
    color: #ffd700;
}

.gringots-title h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.coin-balance-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    padding: 12px 20px;
    border-radius: 25px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: white;
    font-size: 16px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.coin-balance-header i {
    color: #ffd700;
    font-size: 18px;
}

/* Enhanced Gringots Container */
.gringots-container-enhanced {
    margin-top: 80px;
    padding: 30px;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(30, 30, 30, 0.8));
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.welcome-header h2 {
    color: #ffd700;
    font-size: 32px;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.welcome-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin: 0;
    font-style: italic;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

/* Gringots Media Section */
.gringots-media-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(30, 30, 30, 0.8));
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 30px;
    margin-bottom: 30px;
}

.media-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
    flex-wrap: wrap;
}

.media-selector {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    backdrop-filter: blur(10px);
    outline: none;
    transition: all 0.3s ease;
}

.media-selector:focus {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.media-selector option {
    background: rgba(30, 30, 30, 0.95);
    color: white;
    padding: 10px;
}

.media-display {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    padding: 20px;
    backdrop-filter: blur(10px);
}

.media-container {
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.media-container h3 {
    color: #ffd700;
    font-size: 24px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gringots-media-image {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    border-radius: 15px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.gringots-media-image:hover {
    transform: scale(1.02);
}

.gringots-media-video {
    max-width: 100%;
    max-height: 500px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.media-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin: 15px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.loading-message {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}

.loading-message i {
    color: #ffd700;
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.no-media-message {
    width: 100%;
    text-align: left;
}

.no-media-message .news-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 15px;
    padding: 30px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.no-media-message .news-content h3 {
    color: #ffd700;
    font-size: 24px;
    margin: 0 0 25px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.no-media-message .news-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease;
}

.no-media-message .news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.1);
}

.no-media-message .news-item h4 {
    color: #ffd700;
    font-size: 18px;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.no-media-message .news-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.error-message {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}

.error-message i {
    color: #ff6b6b;
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.error-message button {
    margin-top: 15px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.error-message button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Responsive Design for Media Section */
@media (max-width: 768px) {
    .media-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .media-selector {
        min-width: auto;
        width: 100%;
    }
    
    .gringots-media-image,
    .gringots-media-video {
        max-height: 300px;
    }
    
    .media-container h3 {
        font-size: 20px;
    }
    
    .no-media-message .news-content {
        padding: 20px;
    }
    
    .no-media-message .news-content h3 {
        font-size: 20px;
    }
}

.section-header h3 {
    color: #ffd700;
    font-size: 24px;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-header p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 16px;
}

/* Redemption Section */
.redemption-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(30, 30, 30, 0.8));
    border-radius: 20px;
    padding: 30px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(20px);
}

.redemption-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.form-group label i {
    color: #ffd700;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.redeem-btn {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.redeem-btn:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* History Section */
.history-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(30, 30, 30, 0.8));
    border-radius: 20px;
    padding: 30px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(20px);
}

.transaction-list {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-transactions {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.no-transactions i {
    font-size: 48px;
    color: rgba(255, 215, 0, 0.3);
    margin-bottom: 15px;
}

.no-transactions p {
    font-size: 16px;
    margin: 0;
}

/* Transaction List with Scrollbar */
.transaction-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom Scrollbar */
.transaction-list::-webkit-scrollbar {
    width: 8px;
}

.transaction-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.transaction-list::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.6);
    border-radius: 4px;
}

.transaction-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.8);
}

/* Transaction Item Styles */
.transaction-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: 80px;
    height: 80px;
}

.transaction-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.transaction-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
}

.transaction-item.purchase .transaction-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.transaction-item.code_redemption .transaction-icon {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.transaction-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.transaction-description {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.transaction-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.transaction-image {
    margin-top: 8px;
}

.transaction-amount {
    font-size: 18px;
    font-weight: bold;
    text-align: right;
    min-width: 120px;
}

.amount-positive {
    color: #27ae60;
}

.amount-negative {
    color: #e74c3c;
}

.error-message {
    text-align: center;
    color: #e74c3c;
    padding: 20px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.error-message i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.error-message p {
    margin: 0;
    font-size: 14px;
}

/* Enhanced Transaction Interface Styles */
.transaction-controls {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
}

.transaction-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: end;
    margin-bottom: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 150px;
}

.filter-group label {
    color: white;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-group label i {
    color: #ffd700;
    font-size: 12px;
}

.filter-group input,
.filter-group select {
    padding: 8px 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.filter-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.filter-group select option {
    background: #2c2c2c;
    color: white;
}

.clear-filters-btn {
    padding: 8px 12px;
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.4);
    border-radius: 8px;
    color: #e74c3c;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    height: fit-content;
}

.clear-filters-btn:hover {
    background: rgba(231, 76, 60, 0.3);
    transform: translateY(-1px);
}

.transaction-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.transaction-stats .stat-item {
    background: rgba(255, 215, 0, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 150px;
}

.transaction-stats .stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.transaction-stats .stat-value {
    font-size: 16px;
    font-weight: bold;
    color: white;
}

/* Enhanced Transaction List */
.transaction-list-enhanced {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.transaction-item-enhanced {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.transaction-item-enhanced:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.transaction-item-enhanced .transaction-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.transaction-item-enhanced.purchase .transaction-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.transaction-item-enhanced.code_redemption .transaction-icon {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.transaction-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transaction-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.transaction-main .transaction-description {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0;
    flex: 1;
}

.transaction-main .transaction-amount {
    font-size: 18px;
    font-weight: bold;
    text-align: right;
    min-width: 120px;
}

.transaction-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.transaction-meta .transaction-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 5px;
}

.transaction-meta .transaction-date i {
    color: #ffd700;
    font-size: 12px;
}

.transaction-type-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.transaction-type-badge.purchase {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.transaction-type-badge.code_redemption {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.transaction-origin {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}

.transaction-origin i {
    color: #ffd700;
    font-size: 12px;
}

.transaction-image {
    margin-top: 10px;
}

.transaction-image img {
    max-width: 60px;
    max-height: 60px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Pagination Styles */
.transaction-pagination {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.pagination-controls {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    transform: translateY(-1px);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    border-color: #ffd700;
    font-weight: bold;
}

.pagination-ellipsis {
    color: rgba(255, 255, 255, 0.5);
    padding: 8px 4px;
    font-size: 14px;
}

.pagination-info {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Responsive Design for Enhanced Transactions */
@media (max-width: 768px) {
    .transaction-filters {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .transaction-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .transaction-stats .stat-item {
        min-width: 100%;
    }
    
    .transaction-item-enhanced {
        padding: 15px;
        flex-direction: column;
        gap: 12px;
    }
    
    .transaction-main {
        flex-direction: column;
        gap: 8px;
    }
    
    .transaction-main .transaction-amount {
        text-align: left;
        min-width: auto;
        font-size: 16px;
    }
    
    .transaction-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .pagination-controls {
        gap: 5px;
    }
    
    .pagination-btn {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 35px;
    }
}

/* Original Transaction Styles for Backward Compatibility */
@media (max-width: 768px) {
    .transaction-item {
        padding: 12px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .transaction-icon {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .transaction-amount {
        text-align: left;
        min-width: auto;
        font-size: 16px;
    }
    
    .transaction-details {
        width: 100%;
    }
}



/* Responsive Design */
@media (max-width: 768px) {
    .gringots-container-enhanced {
        padding: 15px;
        gap: 20px;
    }
    
    .welcome-header h2 {
        font-size: 24px;
        flex-direction: column;
        gap: 10px;
    }
    
    .section-header h3 {
        font-size: 20px;
        flex-direction: column;
        gap: 8px;
    }
    
    .redemption-section,
    .history-section {
        padding: 20px;
    }
    
    .coin-balance-header {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .header-btn {
        width: 40px;
        height: 40px;
    }
}

/* Botão Voltar ao Dashboard e Logout (estilo unificado) */
.back-button, .logout-button {
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.back-button:hover, .logout-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: black;
}

/* Estilo para a tela de login */
/* Login Page Styles */
.login-page {
    background-image: url('/static/img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.login-background {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(30, 30, 30, 0.9));
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.3);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 193, 7, 0.9));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.login-logo i {
    font-size: 32px;
    color: #1a1a1a;
}

.login-logo #userProfileImage {
    width: 100% !important;
    height: 100% !important;
    border-radius: 20px !important;
    object-fit: cover;
    border: none !important;
    position: absolute;
    top: 0;
    left: 0;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.login-header p {
    font-size: 16px;
    color: rgba(255, 215, 0, 0.9);
    margin: 0;
    font-weight: 400;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.input-wrapper.focused {
    border-color: rgba(255, 215, 0, 0.8);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.input-icon {
    position: absolute;
    left: 16px;
    color: rgba(255, 215, 0, 0.7);
    font-size: 16px;
    z-index: 1;
    transition: color 0.3s ease;
}

.input-wrapper.focused .input-icon {
    color: rgba(255, 215, 0, 1);
}

.input-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #ffffff;
    outline: none;
    font-weight: 500;
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 215, 0, 0.7);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 1;
}

.toggle-password:hover {
    color: rgba(255, 215, 0, 1);
    background: rgba(255, 215, 0, 0.1);
}

.login-btn {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 193, 7, 0.9));
    color: #1a1a1a;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    text-shadow: none;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 215, 0, 1), rgba(255, 193, 7, 1));
}

.login-btn:active {
    transform: translateY(0);
}

.login-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.login-footer p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-star {
    position: absolute;
    font-size: 20px;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

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

/* Responsive Design */
@media (max-width: 480px) {
    .login-container {
        padding: 16px;
    }
    
    .login-card {
        padding: 24px;
        border-radius: 16px;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
    
    .login-logo {
        width: 64px;
        height: 64px;
    }
    
    .login-logo i {
        font-size: 24px;
    }
    
    .login-logo #userProfileImage {
        border-radius: 16px !important;
    }
    
    .floating-star {
        font-size: 16px;
    }
}

/* Estilo personalizado para a seção de tarefas */
#tasksSection {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    max-height: 70vh;
    background: rgba(245, 245, 245, 0.7);
    padding: 20px;
    border-radius: 10px;
    border: 4px solid #000000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    display: none;
    scrollbar-width: thin;
    scrollbar-color: #000000 #f1f1f1;
    z-index: 10;
}

#tasksSection::-webkit-scrollbar {
    width: 10px;
}

#tasksSection::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

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

#tasksSection::-webkit-scrollbar-thumb:hover {
    background: #333333;
}

#tasksSection h2 {
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
}

form input, form select {
    padding: 8px;
    border: 1px solid #000000;
    border-radius: 5px;
    background: #fffaf0;
    color: #000000;
}

form button {
    padding: 10px;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #333333;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: rgba(245, 245, 245, 0.9);
}

th, td {
    border: 1px solid #000000;
    padding: 10px;
    text-align: left;
    color: #333;
}

th {
    background-color: rgba(245, 245, 245, 0.95);
    font-weight: bold;
}

/* Estilo específico para a página Shop */
/* Enhanced Shop Page Styles */
body.shop-page {
    background-image: url('/static/img/shop-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Shop Header */
.shop-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(30, 30, 30, 0.95));
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.shop-title {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.shop-title i {
    font-size: 28px;
    color: #ffd700;
}

.shop-title h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.saldo-galeoes-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    padding: 12px 20px;
    border-radius: 25px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: white;
    font-size: 16px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.saldo-galeoes-header i {
    color: #ffd700;
    font-size: 18px;
}

.header-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.header-btn.logout-btn {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.8), rgba(200, 35, 51, 0.8));
    border-color: rgba(220, 53, 69, 0.5);
}

.header-btn.logout-btn:hover {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.9), rgba(200, 35, 51, 0.9));
    border-color: #dc3545;
}

/* Estilo para botões header-btn com texto */
.header-btn span {
    margin-left: 5px;
    font-size: 12px;
    font-weight: bold;
    color: #ffd700;
}

.header-btn i + span {
    margin-left: 3px;
}

/* Novos botões de estatísticas */
.stat-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 75px;
    height: 38px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.stat-button-container:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 193, 7, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 11px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.stat-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    text-align: center;
    justify-content: center;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.stat-label {
    display: none;
}

.user-stats-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Enhanced Shop Container */
.shop-container-enhanced {
    margin-top: 80px;
    padding: 30px;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}



/* Modern Tab Navigation */
.shop-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.shop-tab-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    min-width: 200px;
    justify-content: center;
}

.shop-tab-button:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    border-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.shop-tab-button.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.2));
    border-color: #ffd700;
    color: #000;
    font-weight: 600;
}

.shop-tab-button i {
    font-size: 18px;
    color: #ffd700;
}

.shop-tab-button.active i {
    color: #000;
}

/* Tab Content */
.tab-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-tab {
    display: none;
    flex-direction: column;
    height: 100%;
}

.shop-tab.active {
    display: flex;
}

.tab-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(30, 30, 30, 0.8));
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(20px);
}

.tab-header h2 {
    margin: 0 0 10px 0;
    color: #ffd700;
    font-size: 28px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.tab-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-style: italic;
}

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
    flex: 1;
}



/* Enhanced Item Cards */
.item {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(30, 30, 30, 0.8));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto;
    overflow: visible;
}

.item:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.item img {
    width: 100%;
    max-width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto 15px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.item h3 {
    margin: 0 0 10px 0;
    color: #ffd700;
    font-size: 18px;
    font-weight: 600;
}

.item p {
    margin: 0 0 15px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

.item p.item-description {
    max-height: 72px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    margin-bottom: 15px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    line-height: 1.5 !important;
    flex: 0 0 auto;
}

.item .item-description {
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
    flex: 0 0 auto;
}

.item .item-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.item .price {
    font-size: 16px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 15px;
}

.item .item-quantity {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-weight: 500;
}

.item .item-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffd700;
    margin: 0 0 10px 0;
    min-height: 22px;
}

.item button {
    padding: 12px 20px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    align-self: center;
    width: 100%;
    max-width: 200px;
}

.item button:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.item button:disabled {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* QR Code Styles */
.qr-code {
    margin: 15px auto;
    padding: 10px;
    background: white;
    border-radius: 8px;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 0 15px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .shop-title h1 {
        font-size: 18px;
    }
    
    .shop-tabs {
        flex-direction: column;
        gap: 10px;
        padding: 0 10px;
    }
    
    .shop-tab-button {
        min-width: auto;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
        padding: 15px 10px;
    }
    
    .tab-header h2 {
        font-size: 20px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .shop-container-enhanced {
        padding: 15px;
        margin-top: 70px;
    }
    
    .saldo-galeoes-header {
        padding: 8px 15px;
        font-size: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-btn {
        width: 40px;
        height: 40px;
    }
    
    .header-actions {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .item {
        min-height: 280px;
        padding: 15px;
    }
    
    .item img {
        max-width: 120px;
        height: 120px;
    }
    
    .item h3 {
        font-size: 16px;
    }
    
    .item p {
        font-size: 13px;
    }
    
    .item p.item-description {
        max-height: 72px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        line-height: 1.5 !important;
    }
}

/* Media queries para telas muito pequenas (mobile) */
@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        padding: 0 10px;
        gap: 10px;
    }
    
    .shop-title {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .shop-title h1 {
        font-size: 16px;
    }
    
    .shop-title i {
        font-size: 24px;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    
    .saldo-galeoes-header {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 0;
        flex: 1;
        margin-right: 10px;
    }
    
    .header-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .shop-container-enhanced {
        padding: 10px;
        margin-top: 60px;
    }
    
    .shop-tabs {
        padding: 0 5px;
        gap: 8px;
    }
    
    .shop-tab-button {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 10px 5px;
        max-height: calc(100vh - 320px);
    }
    
    .tab-header h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .tab-header p {
        font-size: 14px;
    }
    
    .item {
        min-height: 250px;
        padding: 12px;
        margin: 0 auto;
        max-width: 320px;
    }
    
    .item img {
        max-width: 100px;
        height: 100px;
    }
    
    .item h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .item p {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .item p.item-description {
        max-height: 72px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        line-height: 1.5 !important;
    }
    
    .item .price {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .item button {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    /* Ajustes para itens utilizados em mobile */
    .used-tag {
        padding: 4px 8px;
        font-size: 10px;
        margin-bottom: 8px;
    }
    
    .item-used {
        opacity: 0.7;
    }
    
    .item-used .item button:disabled {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* Estilo para a tela Tarefas dos Usuários */
.tasks-users-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    padding: 20px;
    overflow-y: auto;
}

.tasks-users-title {
    color: white;
    margin-bottom: 20px;
}

.tasks-users-controls {
    margin-bottom: 20px;
}

.tasks-users-controls select, .tasks-users-controls button {
    padding: 8px;
    border: 1px solid #000000;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    margin: 0 5px;
}

.tasks-users-section {
    width: 90%;
    max-width: 900px;
    max-height: 70vh;
    background: rgba(245, 245, 245, 0.7);
    padding: 20px;
    border-radius: 10px;
    border: 4px solid #000000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ffd700 rgba(255, 215, 0, 0.2);
}

.tasks-users-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
}

.tasks-users-section::-webkit-scrollbar {
    width: 12px;
}

.tasks-users-section::-webkit-scrollbar-track {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.tasks-users-section::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    border-radius: 10px;
    border: 2px solid rgba(255, 215, 0, 0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tasks-users-section::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffed4e 0%, #ffd700 50%, #ffed4e 100%);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Batch Settings Styles */
.batch-settings-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    padding: 20px;
    overflow-y: auto;
}

.batch-settings-title {
    color: #ffd700;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Georgia', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.batch-form-section {
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 15px;
    border: 3px solid #ffd700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    margin-bottom: 30px;
    width: 90%;
    max-width: 800px;
}

.form-subtitle {
    color: #ffd700;
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Georgia', serif;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: white;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.batch-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ffd700;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 1.1em;
    font-weight: bold;
}

.datetime-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.datetime-field {
    display: flex;
    flex-direction: column;
}

.datetime-field label {
    color: white;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1em;
}

.datetime-input {
    padding: 12px;
    border: 2px solid #ffd700;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 1em;
    font-weight: bold;
}

.save-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: none;
    border-radius: 10px;
    color: #333;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.save-button:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    min-height: 20px;
}

.message.success {
    background: rgba(76, 175, 80, 0.8);
    color: white;
    border: 1px solid #4caf50;
}

.message.error {
    background: rgba(244, 67, 54, 0.8);
    color: white;
    border: 1px solid #f44336;
}

.batch-table-section {
    width: 90%;
    max-width: 1000px;
    margin-bottom: 30px;
}

.table-title {
    color: #ffd700;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Georgia', serif;
}

.table-container {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    border: 3px solid #ffd700;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    overflow-x: auto;
}

/* Responsividade para tabelas */
@media (max-width: 768px) {
    .table-container {
        margin: 0 10px;
        border-radius: 10px;
        border-width: 2px;
    }
    
    .batch-table {
        min-width: 600px;
    }
    
    .batch-table th,
    .batch-table td {
        padding: 8px 6px;
        font-size: 0.9em;
    }
    
    .table-title {
        font-size: 1.4em;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .table-container {
        margin: 0 5px;
        border-radius: 8px;
    }
    
    .batch-table th,
    .batch-table td {
        padding: 6px 4px;
        font-size: 0.8em;
    }
    
    .table-title {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
}

.batch-table {
    width: 100%;
    border-collapse: collapse;
}

.batch-table th {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
}

.batch-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    color: white;
    font-weight: bold;
}

.batch-table tr:hover {
    background: rgba(255, 215, 0, 0.1);
}

.status-active {
    color: #4caf50;
    font-weight: bold;
}

.status-inactive {
    color: #f44336;
    font-weight: bold;
}

.status-pending {
    color: #ff9800;
    font-weight: bold;
}

.navigation-section {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .datetime-group {
        grid-template-columns: 1fr;
    }
    
    .navigation-section {
        flex-direction: column;
        align-items: center;
    }
    
    .batch-table {
        font-size: 0.9em;
    }
    
    .batch-table th,
    .batch-table td {
        padding: 8px;
    }
}

/* Admin Dashboard */
/* Admin Navbar Styles */
.admin-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(30, 30, 30, 0.9));
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.navbar-brand i {
    font-size: 24px;
    color: #ffd700;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.navbar-item i {
    font-size: 18px;
    color: #ffd700;
}

.navbar-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.navbar-logout:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

/* Admin Dashboard Container */
.admin-dashboard-container {
    margin-top: 70px;
    padding: 30px;
    min-height: calc(100vh - 70px);
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

/* Dashboard Header */
.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(30, 30, 30, 0.7));
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dashboard-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.dashboard-header h1 i {
    font-size: 36px;
}

.dashboard-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Dashboard Sections */
.dashboard-section {
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(30, 30, 30, 0.6));
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.section-header {
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 15px;
}

.section-header h2 {
    font-size: 24px;
    color: #ffd700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h2 i {
    font-size: 26px;
}

/* Code Generation Form */
.code-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
    justify-content: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.code-form input,
.code-form select {
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    min-width: 180px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.code-form input:focus,
.code-form select:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.code-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-primary {
    padding: 12px 24px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Users Section */
.users-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    min-height: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Management Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.grid-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.grid-item:hover::before {
    left: 100%;
}

.grid-item:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
}

.grid-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.grid-icon i {
    font-size: 24px;
    color: #000;
}

.grid-item:hover .grid-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.grid-item h3 {
    font-size: 18px;
    margin: 15px 0 10px;
    color: white;
    font-weight: 600;
}

.grid-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-navbar {
        padding: 0 15px;
        height: 60px;
    }
    
    .navbar-brand {
        font-size: 18px;
    }
    
    .navbar-brand i {
        font-size: 20px;
    }
    
    .navbar-logout {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .admin-dashboard-container {
        margin-top: 60px;
        padding: 20px 15px;
    }
    
    .dashboard-header h1 {
        font-size: 24px;
        flex-direction: column;
        gap: 10px;
    }
    
    .code-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-group {
        width: 100%;
    }
    
    .code-form input,
    .code-form select {
        min-width: auto;
        width: 100%;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Media Queries para responsividade */
@media (max-width: 768px) {
    .login-form {
        max-width: 80%;
        padding: 15px;
    }

    #tasksSection, .tasks-users-section {
        width: 95%;
        max-width: 100%;
        max-height: 90vh;
        padding: 20px;
    }

    .tasks-modal .modal-content {
        width: 98%;
        max-width: 1200px;
        max-height: 85vh;
    }

    .tasks-modal .modal-body {
        padding: 15px;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .tasks-table-container {
        overflow-x: auto;
        overflow-y: auto;
        max-height: 350px;
        margin-bottom: 15px;
    }

    .tasks-table {
        min-width: 700px;
    }

    .tasks-table th,
    .tasks-table td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .dashboard-container .custom-button, form button, .gringots-container button {
        padding: 8px 15px;
        font-size: 14px;
    }

    #gringots-btn {
        top: 65%;
        right: 45%;
        width: 100px;
        height: 40px;
    }

    #shop-btn {
        top: 78%;
        left: 8%;
        width: 100px;
        height: 35px;
    }

    #tasks-btn {
        top: 48%;
        left: 50%;
        width: 120px;
        height: 40px;
    }

    .dashboard-container #logout-btn {
        top: 90%;
        right: 5%;
        width: 120px;
        height: 40px;
    }

    .gringots-frame {
        max-width: 80%;
        padding: 15px;
    }

    .back-button, .logout-button {
        padding: 8px 15px;
    }

    .shop-container {
        padding: 10px;
    }

    #shopItemsTab, #myItemsTab {
        max-width: 80%;
        max-height: 40vh;
    }

    .admin-dashboard-container {
        padding: 10px;
        justify-content: flex-start;
        overflow-y: auto;
    }

    #generate-code-btn {
        top: 35%;
        width: 180px;
    }

    .admin-dashboard-container #logout-btn {
        top: 90%;
        right: 5%;
        width: 120px;
        height: 40px;
    }

    .tab-button {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .login-form {
        max-width: 95%;
        padding: 15px;
    }

    #tasksSection, .tasks-users-section {
        top: 2%;
        width: 98%;
        max-height: 95vh;
        padding: 15px;
        border-radius: 12px;
    }

    .tasks-modal .modal-content {
        width: 98%;
        max-width: 100%;
        max-height: 90vh;
        margin: 5px;
    }

    .tasks-modal .modal-body {
        padding: 10px;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .tasks-table-container {
        margin-bottom: 10px;
        overflow-x: auto;
        overflow-y: auto;
        max-height: 300px;
    }

    .tasks-table {
        min-width: 600px;
        font-size: 13px;
    }

    .tasks-table th {
        padding: 10px 8px;
        font-size: 12px;
        white-space: nowrap;
    }

    .tasks-table td {
        padding: 8px 6px;
        font-size: 12px;
        word-break: break-word;
    }

    /* Melhorar botões de ação na tabela em mobile */
    .tasks-table .action-btn {
        padding: 4px 8px;
        font-size: 11px;
        margin: 2px;
        border-radius: 4px;
        min-width: 60px;
    }

    /* Ajustar colunas da tabela em mobile */
    .tasks-table th:first-child,
    .tasks-table td:first-child {
        min-width: 60px;
    }

    .tasks-table th:nth-child(2),
    .tasks-table td:nth-child(2) {
        min-width: 120px;
    }

    .tasks-table th:last-child,
    .tasks-table td:last-child {
        min-width: 100px;
        text-align: center;
    }

    form input, form select {
        font-size: 14px;
        padding: 8px;
        border-radius: 8px;
    }

    table th, table td {
        font-size: 12px;
        padding: 8px 4px;
    }

    /* Melhorias para user-info-bar em mobile */
    .user-info-bar {
        height: 70px;
        padding: 8px 10px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }
    
    .left-section {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .user-stats {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 75px;
    }
    
    /* Mobile responsive styles for stat cards */
    .right-section {
        position: absolute;
        top: 5px;
        right: 10px;
    }
    
    .user-stats-right {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .stat-card {
        min-width: 70px;
        padding: 6px 8px;
        gap: 6px;
        border-radius: 10px;
    }
    
    .stat-icon {
        width: 24px;
        height: 24px;
    }
    
    .stat-icon i {
        font-size: 11px;
    }
    
    .stat-number {
        font-size: 13px;
    }
    
    .stat-label {
        font-size: 8px;
    }

    .dashboard-container {
        margin-top: 90px;
        padding: 15px 10px 90px;
    }
    
    /* Melhorias para bottom navbar */
    .bottom-navbar {
        height: 65px;
    }
    
    .nav-btn {
        min-width: 45px;
        height: 45px;
        padding: 4px 6px;
        font-size: 9px;
    }
    
    .nav-btn i {
        font-size: 14px;
    }
    
    .nav-btn span {
        font-size: 8px;
        margin-top: 2px;
    }
    
    /* Ajustes para botões do dashboard */
    .custom-button {
        padding: 10px 16px;
        font-size: 13px;
        min-height: 40px;
        margin: 5px 0;
    }

    #gringots-btn {
        top: 63%;
        right: 40%;
        width: 80px;
        height: 40px;
        font-size: 11px;
    }

    #shop-btn {
        top: 75%;
        left: 5%;
        width: 80px;
        height: 35px;
        font-size: 11px;
    }

    #tasks-btn {
        top: 45%;
        left: 50%;
        width: 100px;
        height: 35px;
        font-size: 11px;
    }

    .dashboard-container #logout-btn {
        top: 88%;
        right: 5%;
        width: 100px;
        height: 35px;
        font-size: 11px;
    }
    
    /* Melhorias para modais */
    .modal-content {
        margin: 5px;
        max-height: 95vh;
        border-radius: 12px;
        padding: 15px;
    }
    
    .form-grid {
        gap: 12px;
    }
    
    .form-actions {
        gap: 8px;
    }
    
    /* Card Codes Section - Mobile */
    .card-codes-section {
        grid-column: 1 / -1;
    }
    
    #cardCodesContainer {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .card-code-input-group {
        gap: 8px;
    }
    
    /* .card-code-input {
        padding: 10px 12px;
        font-size: 14px;
    } */
    
    .remove-code-btn {
        min-width: 32px;
        height: 32px;
        padding: 6px;
    }
    
    .add-code-btn {
        padding: 8px 12px;
        font-size: 12px;
        gap: 6px;
    }
    
    .add-code-btn i {
        font-size: 10px;
    }
    
    .form-actions button {
        padding: 10px 16px;
        font-size: 13px;
    }

    .gringots-frame {
        max-width: 90%;
        padding: 10px;
    }

    .back-button, .logout-button {
        padding: 6px 15px;
        font-size: 14px;
    }

    #shopItemsTab, #myItemsTab {
        max-width: 90%;
        padding: 10px;
    }

    #shopItems .item, #myItems .item {
        flex-direction: column;
        gap: 5px;
    }

    .admin-dashboard-container h1, .admin-dashboard-container h2 {
        font-size: 20px;
    }

    #generate-code-btn {
        top: 30%;
        width: 150px;
    }

    .admin-dashboard-container #logout-btn {
        top: 88%;
        right: 5%;
        width: 100px;
        height: 35px;
    }

    .tab-button {
        width: 100px;
    }
}

/* Estilo específico para a página Ollivanders */
body.ollivanders-page {
    background-image: url('/static/img/parchment-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    overflow: hidden;
}

.ollivanders-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #8B4513;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.ollivanders-frame {
    background: rgba(255, 250, 240, 0.95);
    padding: 20px;
    border-radius: 10px;
    border: 3px solid #8B4513;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 800px;
    text-align: center;
    overflow-y: auto;
    max-height: 80vh;
}

.ollivanders-frame h1 {
    margin-bottom: 10px;
    font-size: 36px;
    color: #8B4513;
    font-family: 'Georgia', serif;
}

.ollivanders-frame .subtitle {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 15px;
}

.ollivanders-frame .divider {
    border-top: 2px solid #8B4513;
    border-bottom: 2px solid #8B4513;
    margin: 15px 0;
    padding: 10px 0;
}

.ollivanders-frame .section {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #D2B48C;
}

.ollivanders-frame .section h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #8B4513;
    font-family: 'Georgia', serif;
}

.ollivanders-frame .varinhas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.ollivanders-frame .varinha-card {
    background: white;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #D2B48C;
    text-align: left;
}

.ollivanders-frame .varinha-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #8B4513;
}

.ollivanders-frame .varinha-card p {
    margin-bottom: 10px;
}

.ollivanders-frame .varinha-card ul {
    list-style-type: none;
    padding-left: 0;
}

.ollivanders-frame .varinha-card li {
    margin-bottom: 5px;
}

.ollivanders-frame .form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.ollivanders-frame .form-group {
    margin-bottom: 15px;
}

.ollivanders-frame .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.ollivanders-frame .form-group input,
.ollivanders-frame .form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #D2B48C;
    border-radius: 5px;
    background: white;
}

.ollivanders-frame .submit-button {
    width: 100%;
    padding: 10px;
    background-color: #8B4513;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ollivanders-frame .submit-button:hover {
    background-color: #A0522D;
}

.ollivanders-frame footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #D2B48C;
    font-size: 14px;
}

/* Estilo específico para a página Daily Prophet */
body.daily-prophet-page {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Header Navigation */
.prophet-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(30, 30, 30, 0.95));
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-left {
    flex: 2;
}

.header-center {
    flex: 3;
    text-align: center;
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.prophet-title {
    color: #ffd700;
    font-size: 28px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.prophet-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 5px 0 0 0;
    font-style: italic;
}

.nav-menu {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-button {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.nav-button:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.logout-btn {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.logout-btn:hover {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.1));
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.daily-prophet-container {
    margin-top: 100px;
    padding: 20px;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 100px);
}

.daily-prophet-frame {
    background: linear-gradient(135deg, rgba(255, 250, 240, 0.98), rgba(248, 248, 255, 0.95));
    border-radius: 20px;
    border: 3px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 215, 0, 0.1);
    width: 100%;
    max-width: 1000px;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

/* Date Banner */
.date-banner {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding: 20px;
    text-align: center;
}

.date-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

.date-content i {
    color: #ffd700;
    font-size: 20px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin: 30px 0 25px 0;
    position: relative;
}

.section-header h2 {
    font-size: 28px;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Georgia', 'Times New Roman', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.section-header h2 i {
    color: #ffd700;
    font-size: 24px;
}

.section-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    margin: 10px auto;
    border-radius: 2px;
}

/* Breaking News Section */
.breaking-news-section {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0;
}

/* Gringots Media Full Section Styles */
.gringots-media-full-section {
    padding: 30px;
    background: rgba(255, 215, 0, 0.05);
    border-top: 2px solid rgba(255, 215, 0, 0.2);
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    margin: 0;
    min-height: 600px;
}

.media-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.media-navigation {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.nav-media-btn {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #ffd700;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.nav-media-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.2));
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.nav-media-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.media-counter {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 14px;
    min-width: 60px;
    text-align: center;
}

.media-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 20px;
}

.media-item-full {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 20px;
}

.media-item-full:hover {
    transform: none;
    box-shadow: none;
}

.media-header-full {
    padding: 20px 0 15px 0;
    background: transparent;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.media-header-full h3 {
    margin: 0;
    color: #ffd700;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.3;
    flex: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-family: 'Georgia', 'Times New Roman', serif;
}

.media-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.media-date i {
    color: #ffd700;
    font-size: 16px;
}

.media-content-full {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    min-height: 400px;
    max-height: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

.media-image-full {
    width: 100%;
    height: auto;
    max-height: 600px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 15px;
    display: block;
}

.media-video-full {
    width: 100%;
    height: auto;
    max-height: 500px;
    max-width: 100%;
    border-radius: 15px;
}



/* Scroll Buttons */
.scroll-btn {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 215, 0, 0.7));
    border: 2px solid rgba(255, 215, 0, 0.8);
    color: #333;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 1), rgba(255, 215, 0, 0.9));
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.scroll-top {
    bottom: 120px;
    right: 30px;
}

.scroll-bottom {
    bottom: 60px;
    right: 30px;
}

/* Responsividade para Gringots Media Full */
@media (max-width: 768px) {
    .gringots-media-full-section {
        padding: 20px;
        min-height: 500px;
    }
    
    .media-header-section {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .media-navigation {
        padding: 8px 15px;
        gap: 10px;
    }
    
    .nav-media-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .media-counter {
        font-size: 12px;
        min-width: 50px;
    }
    
    .media-container {
        gap: 30px;
    }
    
    .media-item-full {
        margin: 0 10px;
        border-radius: 15px;
    }
    
    .media-header-full {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .media-header-full h3 {
        font-size: 20px;
    }
    
    .media-date {
        font-size: 14px;
        padding: 6px 12px;
        align-self: flex-end;
    }
    
    .media-content-full {
        min-height: 300px;
        max-height: 400px;
    }
    
    .media-image-full {
        max-height: 400px;
    }
    
    .media-video-full {
        max-height: 300px;
    }
    
    .media-footer-full {
        padding: 15px 20px;
    }
    
    .media-type {
        font-size: 14px;
    }
    
    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .scroll-top {
        bottom: 100px;
        right: 20px;
    }
    
    .scroll-bottom {
        bottom: 50px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .gringots-media-full-section {
        padding: 20px 15px;
    }
    
    .media-header-full {
        padding: 15px;
    }
    
    .media-header-full h3 {
        font-size: 18px;
    }
    
    .media-content-full {
        min-height: 200px;
    }
    
    .media-image-full {
        max-height: 300px;
    }
    
    .media-video-full {
        max-height: 250px;
    }
    
    .media-footer-full {
        padding: 12px 15px;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .scroll-top {
        bottom: 80px;
        right: 15px;
    }
    
    .scroll-bottom {
        bottom: 35px;
        right: 15px;
    }
}

/* Classified Section */
.classified-section {
    padding: 30px;
    background: rgba(248, 248, 255, 0.3);
    margin: 0;
}

/* News Grid */
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

/* News Cards */
.noticia-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 248, 255, 0.9));
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 215, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: left;
}

.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.card-header {
    padding: 20px 20px 15px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-header h3 {
    font-size: 20px;
    color: #333;
    margin: 0;
    font-weight: bold;
    line-height: 1.3;
    flex: 1;
}

.card-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 15px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.card-content {
    padding: 20px;
}

.card-content p {
    color: #444;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

.card-footer {
    padding: 15px 20px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.autor-info, .read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.autor-info i, .read-time i {
    color: #ffd700;
    font-size: 12px;
}

/* Classified Ads Grid */
.anuncios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Classified Ad Cards */
.anuncio-card {
    background: linear-gradient(135deg, rgba(248, 248, 255, 0.9), rgba(255, 255, 255, 0.8));
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 0, 0.15);
    padding: 20px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.anuncio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.anuncio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.anuncio-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
    font-weight: bold;
    flex: 1;
}

.anuncio-icon {
    color: #ffd700;
    font-size: 16px;
    margin-left: 10px;
}

.anuncio-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.anuncio-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 12px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.contact-info i {
    color: #ffd700;
    font-size: 12px;
}

/* Prophet Footer */
.prophet-footer {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    padding: 30px;
    text-align: center;
    margin-top: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 20px;
    font-weight: bold;
}

.footer-logo i {
    color: #ffd700;
    font-size: 24px;
}

.footer-text {
    color: #555;
}

.footer-text p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-text p:first-child {
    font-weight: bold;
}

.footer-text p:last-child {
    font-style: italic;
    color: #666;
}

/* Responsividade para Daily Prophet */
@media (max-width: 768px) {
    .daily-prophet-nav {
        padding: 10px 15px;
    }
    
    .nav-buttons {
        gap: 10px;
    }
    
    .nav-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .daily-prophet-frame {
        margin: 10px;
        padding: 15px;
        max-height: none;
    }
    
    .prophet-title {
        font-size: 28px;
    }
    
    .date-banner {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .section-header {
        font-size: 20px;
        padding: 12px 0;
    }
    
    .noticias-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .anuncios-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card-header {
        padding: 15px 15px 12px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .card-badge {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .card-footer {
        padding: 12px 15px 15px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .anuncio-card {
        padding: 15px;
    }
    
    .prophet-footer {
        padding: 20px 15px;
    }
    
    .footer-logo {
        font-size: 18px;
    }
    
    .footer-logo i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .daily-prophet-nav {
        padding: 8px 10px;
    }
    
    .nav-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .daily-prophet-frame {
        margin: 5px;
        padding: 10px;
    }
    
    .prophet-title {
        font-size: 24px;
    }
    
    .section-header {
        font-size: 18px;
    }
    
    .card-header h3 {
        font-size: 18px;
    }
    
    .anuncio-header h3 {
        font-size: 16px;
    }
    
    .noticias-grid {
        gap: 15px;
    }
    
    .anuncios-grid {
        gap: 12px;
    }
}

/* Estilo específico para a página Admin Shop Items */
body.admin-shop-page {
    background-image: url('/static/img/admin-background.jpg'); /* Substitua por um fundo adequado, se houver */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    overflow: hidden;
}

.admin-shop-container {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Garante que o container ocupe pelo menos a altura da tela */
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    padding: 40px 20px; /* Aumenta o padding-top para evitar corte no topo */
    overflow-y: auto;
    max-width: 1200px; /* Incorporado do estilo inline */
    margin: 0 auto; /* Incorporado do estilo inline */
}

.admin-shop-container h1, .admin-shop-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

/* Formulário de criação de itens */
.admin-inputs {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.admin-inputs input, .admin-inputs button {
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    font-size: 16px;
}

.admin-inputs input[type="checkbox"] {
    margin-right: 10px;
}

.admin-inputs label {
    display: flex;
    align-items: center;
    color: white;
}

.admin-inputs button {
    background-color: #ffd700; /* Amarelo dourado para consistência com a loja */
    color: #333;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.admin-inputs button:hover {
    background-color: #e6c200;
}

/* Tabelas de itens e compras */
.admin-shop-container table {
    width: 100%;
    max-width: 900px;
    background: rgba(245, 245, 245, 0.7);
    border-collapse: collapse;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 4px solid #000000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.admin-shop-container th, .admin-shop-container td {
    border: 1px solid #000000;
    padding: 10px;
    text-align: left;
    color: #333;
}

.admin-shop-container th {
    background-color: rgba(245, 245, 245, 0.95);
    font-weight: bold;
}

.admin-shop-container td img {
    max-width: 100px;
    height: auto;
}

.admin-shop-container td button {
    padding: 5px 10px;
    background-color: #ff0000; /* Vermelho para exclusão */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.admin-shop-container td button:hover {
    background-color: #cc0000;
}

/* Ajustes para os itens em shop.html (suporte a descrição e anexo secretos) */
#shopItems .item, #myItems .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    text-align: center;
}

#shopItems .item img, #myItems .item img {
    max-width: 150px; /* Aumentado para melhor visualização */
    max-height: 150px;
    margin-bottom: 10px;
}

#shopItems .item span, #myItems .item span {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

#shopItems .item p, #myItems .item p {
    font-size: 14px;
    margin: 5px 0;
    color: white;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

#shopItems .item .item-description, #myItems .item .item-description {
    max-height: 72px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    line-height: 1.5 !important;
}

#myItems .item p strong {
    color: #ffd700; /* Dourado para destacar "Descrição Secreta" e "Anexo Secreto" */
}

#myItems .item a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s;
}

#myItems .item a:hover {
    color: #e6c200;
    text-decoration: underline;
}

#shopItems .item button, .buy-button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    color: #2c3e50;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 8px 2px;
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

#shopItems .item button::before, .buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

#shopItems .item button:hover, .buy-button:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 50%, #ffed4e 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

#shopItems .item button:hover::before, .buy-button:hover::before {
    left: 100%;
}

#shopItems .item button:active, .buy-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

#shopItems .item button:disabled, .buy-button:disabled {
    background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%);
    color: #7f8c8d;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.2);
}

#shopItems .item button:disabled::before, .buy-button:disabled::before {
    display: none;
}

/* Ícone dentro do botão de compra */
#shopItems .item button i, .buy-button i {
    margin-right: 8px;
    font-size: 14px;
}

/* Botão "Ver mais" */
.read-more-btn {
    padding: 3px 8px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 5px;
    transition: background-color 0.3s;
}

.read-more-btn:hover {
    background-color: #45a049;
}

/* Container para descrição */
.item-description-container {
    margin: 10px 0;
}

/* Modal para descrição completa */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #2c2c2c;
    margin: 10% auto;
    padding: 0;
    border: 2px solid #ffd700;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #ffd700, #e6c200);
    color: #333;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.close {
    color: #333;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 20px;
    color: white;
    line-height: 1.6;
}

.modal-body p {
    margin: 0;
    word-wrap: break-word;
}

/* Responsividade para admin_shop_items.html */
@media (max-width: 768px) {
    .admin-shop-container {
        padding: 10px;
    }

    .admin-inputs {
        max-width: 80%;
        padding: 15px;
    }

    .admin-shop-container table {
        max-width: 80%;
    }

    .admin-shop-container td img {
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .admin-inputs {
        max-width: 90%;
        padding: 10px;
    }

    .admin-shop-container table {
        max-width: 95%;
    }

    .admin-shop-container th, .admin-shop-container td {
        font-size: 12px;
        padding: 6px;
    }

    .admin-shop-container td img {
        max-width: 60px;
    }
}

/* Adicionar */
.promo-price {
    color: #ff4500;
    font-weight: bold;
}

.promo-price del {
    color: #ccc;
    font-weight: normal;
}

.promo-price small {
    color: #ffd700;
    font-size: 12px;
}

/* Adicionar */
.timer {
    color: #ff4500;
    font-size: 14px;
    margin-top: 5px;
}

.flash-messages {
    margin: 10px auto;
    max-width: 600px;
}
.flash-success {
    background: #4CAF50;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.flash-error {
    background: #f44336;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.rewards-board {
    background: url('../img/novo.jpg') no-repeat center;
    background-size: cover;
    color: #FFD700; /* Ouro para tema Harry Potter */
    font-family: 'Arial', sans-serif; /* Substitua por 'Harry P' se disponível */
    padding: 20px;
    min-height: 100vh;
}
.missions-container {
    width: 65%;
    float: left;
    padding: 10px;
}
.mission-card {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #4B0082; /* Roxo mágico */
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}
.mission-card img {
    max-width: 100%;
    height: auto;
}
.ranking-container {
    width: 30%;
    float: right;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border: 2px solid #FFD700;
    border-radius: 5px;
}
.mission-form {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.mission-form textarea,
.mission-form input[type="file"],
.mission-form button {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 3px;
}
.mission-form button {
    background: #4B0082;
    color: #FFD700;
    border: none;
    cursor: pointer;
}
.mission-form button:hover {
    background: #6A0DAD;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 400px;
    z-index: 10000;
    animation: slideInRight 0.3s ease-out;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    color: white;
}

.notification-error {
    border-left: 4px solid #ff4757;
}

.notification-success {
    border-left: 4px solid #2ed573;
}

.notification-info {
    border-left: 4px solid #ffd700;
}

.notification-content i {
    font-size: 18px;
    flex-shrink: 0;
}

.notification-error .notification-content i {
    color: #ff4757;
}

.notification-success .notification-content i {
    color: #2ed573;
}

.notification-info .notification-content i {
    color: #ffd700;
}

.notification-content span {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

/* Admin Shop Items Styles */
.admin-form-container {
    max-width: 1000px;
    margin: 0 auto;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-section {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.form-section h3 {
    color: #ffd700;
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    font-size: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: start;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: white;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #ffd700;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.7);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group input[type="file"] {
    padding: 8px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px dashed rgba(255, 215, 0, 0.3);
}

.form-group input[type="file"]:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    padding: 12px 16px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.checkbox-label:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #ffd700;
    border-color: #ffd700;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-label i {
    color: #ffd700;
    font-size: 16px;
}

.form-actions {
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-primary i {
    font-size: 18px;
}

/* Flash Messages Styles */
.flash-messages {
    margin-bottom: 20px;
}

.flash {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.flash.error {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid rgba(220, 53, 69, 0.3);
    color: #ff6b7a;
}

.flash.success {
    background: rgba(40, 167, 69, 0.1);
    border: 2px solid rgba(40, 167, 69, 0.3);
    color: #51cf66;
}

.flash.info {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .shop-tab-button {
        min-width: auto;
    }
    
    .form-section {
        padding: 20px 15px;
    }
}

/* Estilos para exibição de itens na aba de gerenciar */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.item-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.item-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
}

.item-price {
    font-weight: bold;
    color: #27ae60;
    font-size: 1.1rem;
}

.promo-price {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.item-details {
    margin-bottom: 1rem;
}

.item-details p {
    margin: 0.5rem 0;
    color: #555;
    line-height: 1.4;
}

.item-image {
    max-width: 100px;
    max-height: 100px;
    border-radius: 8px;
    margin: 0.5rem 0;
    object-fit: cover;
}

.item-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.flag {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
}

.flag.unique-global {
    background-color: #9b59b6;
}

.flag.unique-group {
    background-color: #3498db;
}

.flag.qr-enabled {
    background-color: #f39c12;
}

.flag.temporary {
    background-color: #e74c3c;
}

.item-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.no-items {
    text-align: center;
    padding: 3rem 1rem;
    color: #7f8c8d;
    font-style: italic;
}

@media (max-width: 768px) {
    .items-grid {
        grid-template-columns: 1fr;
    }
    
    .item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Estilos para a página de compras por usuário */
.purchases-container {
    padding: 1rem;
}

.group-section {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.group-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #3498db;
}

.group-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-section {
    margin-bottom: 1.5rem;
}

.user-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #bdc3c7;
}

.user-header h4 {
    margin: 0;
    color: #34495e;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.purchases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

.purchase-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.purchase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.purchase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.purchase-header h5 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.purchase-actions {
    display: flex;
    gap: 0.5rem;
}

.purchase-details {
    margin-bottom: 1rem;
}

.purchase-details p {
    margin: 0.5rem 0;
    color: #555;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.purchase-details i {
    width: 16px;
    color: #7f8c8d;
}

.status-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.used {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-badge.not-used {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-badge.has-qr {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.status-badge.no-qr {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.purchase-image {
    text-align: center;
    margin-top: 1rem;
}

.purchase-image img {
    max-width: 100%;
    max-height: 150px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.no-purchases {
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
}

.no-purchases i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-purchases p {
    font-size: 1.2rem;
    margin: 0;
}

@media (max-width: 768px) {
    .purchases-grid {
        grid-template-columns: 1fr;
    }
    
    .purchase-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .group-section {
        padding: 1rem;
    }
}

/* Estilos para itens em promoção */
.promo-item {
    border: 3px solid #ff4500 !important;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.3) !important;
    animation: promo-glow 2s ease-in-out infinite alternate;
    min-height: auto !important;
}

/* Garantir que o botão de compra seja visível em itens promocionais */
.promo-item .buy-button,
.promo-item button {
    margin-top: auto !important;
    z-index: 10 !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

@keyframes promo-glow {
    from {
        box-shadow: 0 0 20px rgba(255, 69, 0, 0.3);
    }
    to {
        box-shadow: 0 0 30px rgba(255, 69, 0, 0.6);
    }
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
}

.original-price {
    color: #999;
    font-size: 14px;
}

.promo-price-red {
    color: #ff0000 !important;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.regular-price {
    color: #ffd700;
    font-size: 16px;
    font-weight: bold;
}

.promo-badge {
    background: linear-gradient(135deg, #ff4500, #ff6347);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.promo-timer {
    background: rgba(255, 69, 0, 0.1);
    border: 2px solid #ff4500;
    border-radius: 8px;
    padding: 8px 12px;
    margin: 10px 0;
    color: #ff4500;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    animation: timer-blink 1s ease-in-out infinite;
}

@keyframes timer-blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.promo-timer.urgent {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
    color: #ff0000;
    animation: urgent-blink 0.5s ease-in-out infinite;
}

@keyframes urgent-blink {
    0%, 100% {
        background: rgba(255, 0, 0, 0.2);
    }
    50% {
        background: rgba(255, 0, 0, 0.4);
    }
}

.promo-timer.expired {
    background: rgba(128, 128, 128, 0.2);
    border-color: #888;
    color: #888;
    animation: none;
}

.item-name {
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
}

.item-description {
    font-size: 14px;
    line-height: 1.5 !important;
    margin: 10px 0;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    max-height: 72px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
}

.item-quantity {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 5px 0;
}

.temp-expiry {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 6px;
    padding: 6px 10px;
    margin: 8px 0;
    color: #ffd700;
    font-size: 13px;
    text-align: center;
}

/* Estilos para página de códigos */
.section-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.8), rgba(63, 81, 181, 0.6));
    border-radius: 12px;
    border: 2px solid rgba(63, 81, 181, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(63, 81, 181, 0.4);
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    text-align: center;
}

.code-value {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #1a237e;
    background: linear-gradient(135deg, #e8eaf6, #c5cae9);
    padding: 6px 12px;
    border-radius: 6px;
    border: 2px solid #3f51b5;
    box-shadow: 0 2px 8px rgba(63, 81, 181, 0.2);
    transition: all 0.3s ease;
}

.code-value:hover {
    background: linear-gradient(135deg, #c5cae9, #9fa8da);
    transform: scale(1.05);
}

.coin-value {
    color: #1a237e;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

.coin-value i {
    color: #ff6f00;
    font-size: 1.1em;
}

.group-badge {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.status-used {
    background: linear-gradient(135deg, #4caf50, #388e3c);
    color: #ffffff;
    border: none;
}

.status-available {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: #ffffff;
    border: none;
}

.code-used {
    background: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4caf50;
}

.code-available {
    background: rgba(255, 152, 0, 0.1);
    border-left: 4px solid #ff9800;
}

.code-used:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: translateX(5px);
}

.code-available:hover {
    background: rgba(255, 152, 0, 0.2);
    transform: translateX(5px);
}

.no-data {
    text-align: center;
    padding: 3rem 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.no-data i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.3);
}

.no-data p {
    font-size: 1.1rem;
    margin: 0;
}

.error-row {
    text-align: center;
    padding: 2rem;
    color: #dc3545;
}

.error-row i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.loading-row {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.loading-row i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Estilos para botões do header */
.action-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-outline-danger {
    background: transparent;
    color: #ff4757;
    border: 2px solid rgba(255, 71, 87, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-outline-danger:hover {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.6);
    color: #ff4757;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

/* Melhorias na tabela */
.admin-table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.admin-table thead th {
    background: linear-gradient(135deg, #1a237e, #3f51b5);
    color: #ffffff;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.admin-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border: none;
}

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

/* Estilos para admin container e header */
.admin-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    color: white;
}

.admin-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(30, 30, 30, 0.8));
    padding: 1.5rem 0;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.admin-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.admin-header .header-left {
    flex: 1;
}

.admin-header .header-left h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.admin-header .header-left h1 i {
    font-size: 2.2rem;
    color: #ffd700;
}

.admin-header .header-left p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 400;
}

.admin-header .header-actions {
    display: flex;
    align-items: center;
}

.admin-main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .admin-header .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .admin-header .header-left h1 {
        font-size: 1.5rem;
        justify-content: center;
    }
    
    .admin-main {
        padding: 1rem;
    }
    
    .section-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .btn-outline-light,
    .btn-outline-danger {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 1rem;
    }
    
    .code-value {
        font-size: 0.9rem;
        padding: 4px 8px;
    }
    
    .admin-table {
        font-size: 0.9rem;
    }
    
    .admin-table thead th,
    .admin-table tbody td {
        padding: 0.75rem 0.5rem;
    }
}

/* QR Confirmation Styles */
.confirm-qr-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.confirm-item-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    color: white;
    position: relative;
    overflow: hidden;
}

.confirm-item-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.item-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.item-header i {
    font-size: 2.5rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.item-header h2 {
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.item-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: start;
}

.item-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.item-image:hover {
    transform: scale(1.05);
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.detail-item i {
    font-size: 1.2rem;
    color: #ffd700;
    min-width: 20px;
}

.detail-label {
    font-weight: 600;
    min-width: 120px;
}

.detail-value {
    font-weight: 400;
    opacity: 0.9;
}

.confirm-actions {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.warning-message {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
    border-radius: 15px;
    margin-bottom: 25px;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.warning-message i {
    font-size: 1.5rem;
    color: #ffd700;
}

.warning-message p {
    margin: 0;
    font-weight: 500;
    font-size: 1.1rem;
}

.confirm-form {
    margin: 0;
}

.form-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.confirm-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    text-decoration: none;
    cursor: pointer;
}

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
}

.cancel-btn {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
    text-decoration: none;
}

.cancel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
    color: white;
    text-decoration: none;
}

/* QR Confirmation Responsive Design */
@media (max-width: 768px) {
    .confirm-qr-container {
        padding: 15px;
        margin: 10px;
        border-radius: 15px;
    }
    
    .item-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .item-header h2 {
        font-size: 1.5rem;
    }
    
    .item-header i {
        font-size: 1.3rem;
    }
    
    .form-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .confirm-btn,
    .cancel-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .confirm-item-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .confirm-actions {
        padding: 20px;
    }
    
    .item-image {
        max-width: 120px;
        height: 120px;
    }
    
    .item-details h3 {
        font-size: 18px;
    }
    
    .item-details p {
        font-size: 14px;
    }
}

/* QR Confirmation para telas muito pequenas */
@media (max-width: 480px) {
    .confirm-qr-container {
        padding: 12px;
        margin: 5px;
        border-radius: 12px;
    }
    
    .item-header {
        padding: 12px;
    }
    
    .item-header h2 {
        font-size: 1.3rem;
    }
    
    .item-header i {
        font-size: 1.1rem;
    }
    
    .confirm-item-card {
        padding: 15px;
        border-radius: 10px;
    }
    
    .item-content {
        gap: 15px;
    }
    
    .item-image {
        max-width: 100px;
        height: 100px;
    }
    
    .item-details h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .item-details p {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .warning-section {
        padding: 12px;
        border-radius: 8px;
    }
    
    .warning-section h4 {
        font-size: 14px;
    }
    
    .warning-section p {
        font-size: 12px;
    }
    
    .form-buttons {
        gap: 10px;
        margin-top: 15px;
    }
    
    .confirm-btn, .cancel-btn {
        padding: 12px;
        font-size: 13px;
        border-radius: 8px;
    }
}

/* Estilos para itens utilizados */
.item-used {
    position: relative;
    opacity: 0.7;
    filter: grayscale(30%);
    border: 2px solid #28a745;
}

.used-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    z-index: 10;
    animation: pulse-success 2s infinite;
}

.used-tag i {
    font-size: 0.9rem;
}

@keyframes pulse-success {
    0% {
        box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(40, 167, 69, 0.6);
    }
    100% {
        box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    }
}

.item-used button:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.item-used button:disabled:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    transform: none;
}

/* Responsive para itens utilizados */
@media (max-width: 768px) {
    .used-tag {
        font-size: 0.7rem;
        padding: 3px 8px;
        top: 5px;
        right: 5px;
    }
}

/* Botão de configurações */
.settings-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    margin-left: 10px;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.settings-btn:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* Modal */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modal genérico para configurações de perfil */
.modal .modal-content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
}

/* Modal específico para descrição de itens */
#descriptionModal .modal-content {
    background-color: #2c2c2c;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
}

#descriptionModal .modal-header {
    border-bottom: 1px solid #444;
}

#descriptionModal .modal-header h3 {
    color: #ffffff;
}

#descriptionModal .close {
    color: #ccc;
}

#descriptionModal .close:hover {
    color: #fff;
}

/* Modal header genérico para configurações de perfil */
.modal .modal-header {
    padding: 20px 20px 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #000;
}

/* Modal body genérico para configurações de perfil */
.modal .modal-body {
    padding: 20px;
}

.modal-body label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.modal-body input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.modal-body small {
    color: #666;
    font-size: 12px;
}

.modal-footer {
    padding: 10px 20px 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-primary, .btn-secondary {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
}

/* Responsive para modal */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header, .modal-body, .modal-footer {
        padding: 15px;
    }
    
    .settings-btn {
        font-size: 14px;
        margin-left: 8px;
    }
}

/* Daily Prophet Page Styles */
.daily-prophet-page {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.prophet-header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #ffd700;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.header-left, .header-right {
    flex: 1;
}

.header-center {
    flex: 2;
    text-align: center;
}

.prophet-title {
    color: #ffd700;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.prophet-subtitle {
    color: #cccccc;
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
    font-style: italic;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-button:hover {
    background: linear-gradient(45deg, #ffed4e, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.logout-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
}

.logout-btn:hover {
    background: linear-gradient(45deg, #ff8e8e, #ff6b6b);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.daily-prophet-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.daily-prophet-frame {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: visible;
    backdrop-filter: blur(10px);
    min-height: calc(100vh - 200px);
}

.date-banner {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    padding: 1rem;
    text-align: center;
    border-bottom: 3px solid #e6c200;
}

.date-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
}

.media-section {
    padding: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.section-header h2 {
    color: #333;
    font-size: 1.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.media-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.media-nav-btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.media-nav-btn:hover:not(:disabled) {
    background: linear-gradient(45deg, #0056b3, #007bff);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.media-nav-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.media-counter {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
    min-width: 60px;
    text-align: center;
}

.media-container {
    position: relative;
    min-height: 400px;
    overflow: visible;
}

.media-display {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: visible;
}

.media-item {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.media-item.active {
    display: flex;
}

.media-content {
    width: 100%;
    max-width: 1400px;
    text-align: center;
}

.media-image, .media-gif {
    max-width: 100%;
    max-height: 1000px;
    min-height: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.media-image:hover, .media-gif:hover {
    transform: scale(1.02);
}

.media-video {
    width: 100%;
    max-width: 1200px;
    min-height: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.media-unsupported {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem;
    background: #f1f3f4;
    border-radius: 10px;
    color: #666;
}

.media-unsupported i {
    font-size: 3rem;
    color: #999;
}

.media-info {
    text-align: center;
    max-width: 600px;
}

.media-info h3 {
    color: #333;
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.media-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.media-date, .media-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    background: #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.no-media-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 3rem;
}

.no-media-content {
    text-align: center;
    color: #666;
}

.no-media-content i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.no-media-content h2 {
    color: #333;
    margin: 1rem 0;
    font-size: 1.5rem;
}

.no-media-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.scroll-btn {
    position: fixed;
    right: 2rem;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-btn:hover {
    background: linear-gradient(45deg, #ffed4e, #ffd700);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.scroll-top {
    bottom: 8rem;
}

.scroll-bottom {
    bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .header-left, .header-right {
        flex: none;
    }
    
    .prophet-title {
        font-size: 2rem;
    }
    
    .daily-prophet-container {
        padding: 1rem;
    }
    
    .media-section {
        padding: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .media-controls {
        align-self: center;
    }
    
    .media-meta {
        gap: 1rem;
    }
    
    .scroll-btn {
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .prophet-title {
        font-size: 1.5rem;
    }
    
    .nav-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .media-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Media Controls Top */
.media-controls-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

/* Media Controls Bottom */
.media-controls-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

/* Media Navigation Title */
.media-navigation-title {
    margin-top: 2rem;
    text-align: center;
    padding: 1rem 0;
}

.nav-title-text {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-title-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    margin: 0.5rem auto 0;
    border-radius: 1px;
}

/* Smooth Scroll Button */
.scroll-btn.smooth-scroll {
    right: 20px;
    bottom: 140px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
}

.scroll-btn.smooth-scroll:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
    transform: translateY(-2px) scale(1.05);
}

/* Modal de confirmação de compra */
.purchase-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    animation: fadeIn 0.3s ease-out;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
}

.purchase-modal {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: auto;
    position: relative;
}

.purchase-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.purchase-modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.purchase-modal-content {
    padding: 25px;
}

.item-preview {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 1px solid #dee2e6;
}

.item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.item-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 24px;
}

.item-details {
    flex: 1;
}

.item-name {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
}

.item-description {
    margin: 0 0 15px 0;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.4;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.purchase-modal .regular-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #b8dacc;
}

.purchase-modal .original-price {
    font-size: 1rem;
    color: #6c757d;
    text-decoration: line-through;
}

.promo-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #dc3545;
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #f1b0b7;
}

.purchase-modal .promo-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3);
    animation: pulse 2s infinite;
}

.quantity-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
}

.confirmation-message {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 15px;
    border: 1px solid #ffeaa7;
    margin-bottom: 25px;
}

.confirmation-message i {
    font-size: 2rem;
    color: #856404;
    margin-bottom: 10px;
}

.confirmation-message p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #856404;
}

.purchase-modal-actions {
    display: flex;
    gap: 15px;
    padding: 0 25px 25px;
}

.btn-cancel, .btn-confirm {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cancel {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-cancel:hover {
    background: linear-gradient(135deg, #5a6268 0%, #343a40 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.btn-confirm {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-confirm:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-confirm:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

/* Animações para o modal */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsividade do modal */
@media (max-width: 768px) {
    .purchase-modal-overlay {
        padding: 5px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .purchase-modal {
        width: 100%;
        margin: 0;
        max-height: calc(100vh - 40px);
        border-radius: 15px;
        min-height: auto;
    }
    
    .purchase-modal-header {
        padding: 15px;
    }
    
    .purchase-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .purchase-modal-content {
        padding: 20px;
    }
    
    .item-preview {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 15px;
    }
    
    .item-image, .item-placeholder {
        align-self: center;
        width: 60px;
        height: 60px;
    }
    
    .item-name {
        font-size: 1.1rem;
    }
    
    .item-description {
        font-size: 0.9rem;
    }
    
    .purchase-modal-actions {
        flex-direction: column;
        padding: 0 20px 20px;
        gap: 10px;
    }
    
    .btn-cancel, .btn-confirm {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .price-info {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .confirmation-message {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .confirmation-message i {
        font-size: 1.5rem;
    }
    
    .confirmation-message p {
        font-size: 1rem;
    }
}

/* Responsividade para telas muito pequenas */
@media (max-width: 480px) {
    .purchase-modal-overlay {
        padding: 2px;
        align-items: flex-start;
        padding-top: 10px;
    }
    
    .purchase-modal {
        width: 100%;
        margin: 0;
        max-height: calc(100vh - 20px);
        border-radius: 12px;
        min-height: auto;
    }
    
    .purchase-modal-header {
        padding: 12px;
    }
    
    .purchase-modal-header h3 {
        font-size: 1.1rem;
        gap: 8px;
    }
    
    .modal-close {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .purchase-modal-content {
        padding: 15px;
    }
    
    .item-preview {
        padding: 12px;
        gap: 12px;
    }
    
    .item-image, .item-placeholder {
        width: 50px;
        height: 50px;
    }
    
    .item-name {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .item-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .price-info {
        gap: 8px;
    }
    
    .purchase-modal .regular-price,
    .promo-price {
        font-size: 1rem;
        padding: 4px 10px;
    }
    
    .purchase-modal .promo-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .quantity-info {
        font-size: 0.85rem;
    }
    
    .confirmation-message {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .confirmation-message i {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .confirmation-message p {
        font-size: 0.95rem;
    }
    
    .purchase-modal-actions {
        padding: 0 15px 15px;
        gap: 8px;
    }
    
    .btn-cancel, .btn-confirm {
        padding: 10px 12px;
        font-size: 0.85rem;
        gap: 6px;
    }
}

/* Responsividade para telas extra pequenas */
@media (max-width: 360px) {
    .purchase-modal-overlay {
        padding: 1px;
        align-items: flex-start;
        padding-top: 5px;
    }
    
    .purchase-modal {
        width: 100%;
        margin: 0;
        max-height: calc(100vh - 10px);
        border-radius: 10px;
        min-height: auto;
    }
    
    .purchase-modal-header {
        padding: 10px;
    }
    
    .purchase-modal-header h3 {
        font-size: 1rem;
        gap: 6px;
    }
    
    .modal-close {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .purchase-modal-content {
        padding: 12px;
    }
    
    .item-preview {
        padding: 10px;
        gap: 10px;
    }
    
    .item-name {
        font-size: 0.95rem;
    }
    
    .item-description {
        font-size: 0.8rem;
    }
    
    .purchase-modal-actions {
        padding: 0 12px 12px;
        gap: 6px;
    }
    
    .btn-cancel, .btn-confirm {
        padding: 8px 10px;
        font-size: 0.8rem;
        gap: 4px;
    }
}

/* Responsividade para telas médias (tablets) */
@media (min-width: 769px) and (max-width: 1024px) {
    .purchase-modal {
        max-width: 600px;
        width: 85%;
    }
    
    .item-preview {
        gap: 18px;
    }
    
    .item-image, .item-placeholder {
        width: 70px;
        height: 70px;
    }
}

/* Tasks Page Styles */
.tasks-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.tasks-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tasks-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tasks-title i {
    font-size: 1.8rem;
    color: #ffd700;
}

.tasks-title h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tasks-count-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.15);
    border-radius: 25px;
    font-size: 0.9rem;
}

.tasks-count-header i {
    color: #ffd700;
}

.header-btn {
    padding: 0.5rem;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.logout-btn:hover {
    background: rgba(220, 53, 69, 0.8);
}

.tasks-container-enhanced {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #121212;
    min-height: 100vh;
}

/* Welcome Section */
.welcome-section {
    background: #1e1e1e;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    text-align: center;
    border: 1px solid #333;
}

.welcome-header h2 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
}

.welcome-header h2 i {
    color: #667eea;
    margin-right: 0.5rem;
}

.welcome-header p {
    margin: 0;
    color: #b0b0b0;
    font-size: 1.1rem;
}

/* Task Registration Section */
.task-registration-section {
    background: #1e1e1e;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    border: 1px solid #333;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h3 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header h3 i {
    color: #28a745;
}

.section-header p {
    margin: 0;
    color: #b0b0b0;
    font-size: 0.95rem;
}

/* Task Form Table */
.task-form-table-container {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.task-form-table {
    width: 100%;
    border-collapse: collapse;
    background: #2a2a2a;
}

.task-form-table thead {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.task-form-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
}

.task-form-table th i {
    margin-right: 0.5rem;
    color: #ffd700;
}

.task-input-row {
    background: #333333;
}

.task-input-row td {
    padding: 1rem;
    border: none;
    vertical-align: middle;
}

.table-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #555;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #2a2a2a;
    color: #ffffff;
}

.table-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* Alinhamento simples e direto */
.codes-input-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

#cardCodesContainer {
    width: 100%;
    margin: 0;
    padding: 0;
}

.card-code-input-group {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    margin-bottom: 5px;
}

.card-code-input-group:last-child {
    margin-bottom: 0;
}

/* Campo idêntico aos outros da tabela */
.card-code-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #555;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #2a2a2a;
    color: #ffffff;
    margin: 0;
    box-sizing: border-box;
}

.card-code-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.remove-code-btn-table {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    padding: 0.25rem !important;
    background: #dc3545 !important;
    border: none !important;
    border-radius: 4px !important;
    color: white !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 0.7rem !important;
    z-index: 10 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-code-btn-table:hover {
    background: #c82333;
    transform: scale(1.05);
}

.add-code-btn-table {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    align-self: center;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.add-code-btn-table:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.codes-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
}

.add-code-btn-table-header {
    padding: 0.25rem 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.7rem;
    box-shadow: 0 1px 4px rgba(102, 126, 234, 0.3);
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-code-btn-table-header:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.4);
}

.table-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.btn-add-task, .btn-clear-task {
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn-add-task {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.btn-add-task:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-clear-task {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.btn-clear-task:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

/* Tasks List Section */
.tasks-list-section {
    background: #1e1e1e;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    border: 1px solid #333;
}

.tasks-list-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tasks-list-section .section-header h3 {
    color: #ffffff;
    margin: 0;
}

.tasks-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.search-filter-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-container i {
    position: absolute;
    left: 1rem;
    color: #666;
    z-index: 1;
}

.search-input-container input {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid #555;
    border-radius: 25px;
    font-size: 0.9rem;
    width: 250px;
    transition: all 0.3s ease;
    background: #2a2a2a;
    color: #ffffff;
}

.search-input-container input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

#batchFilter {
    padding: 0.75rem 1rem;
    border: 2px solid #555;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #2a2a2a;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

#batchFilter:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.tasks-stats-mini {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #333333 0%, #444444 100%);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #b0b0b0;
    border: 1px solid #555;
}

.stat-mini i {
    color: #667eea;
}

.stat-mini strong {
    color: #ffffff;
    font-weight: 600;
}

/* No Tasks Message */
.no-tasks-message {
    text-align: center;
    padding: 3rem 2rem;
    color: #b0b0b0;
}

.no-tasks-message i {
    font-size: 3rem;
    color: #555;
    margin-bottom: 1rem;
}

.no-tasks-message h4 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: 1.2rem;
}

.no-tasks-message p {
    margin: 0;
    font-size: 0.95rem;
    color: #b0b0b0;
}

/* Responsive Design for Tasks Page */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-actions {
        justify-content: center;
    }
    
    .tasks-container-enhanced {
        padding: 1rem;
    }
    
    .welcome-section,
    .task-registration-section,
    .tasks-list-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .task-form-table-container {
        overflow-x: auto;
    }
    
    .task-form-table {
        min-width: 800px;
    }
    
    .search-filter-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .search-input-container input {
        width: 100%;
    }
    
    .tasks-stats-mini {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .stat-mini {
        justify-content: center;
    }
    
    .tasks-list-section .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tasks-controls {
        align-items: stretch;
    }
    
    .table-actions {
        flex-direction: column;
    }
    
    .codes-input-container {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .tasks-title h1 {
        font-size: 1.2rem;
    }
    
    .welcome-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header h3 {
        font-size: 1.2rem;
    }
    
    .task-form-table th,
    .task-input-row td {
        padding: 0.75rem 0.5rem;
    }
    
    .table-input {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}

/* Estilos para notificações */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 300px;
    max-width: 500px;
    padding: 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideInRight 0.3s ease-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.notification-success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.9), rgba(69, 160, 73, 0.9));
    border-color: rgba(76, 175, 80, 0.5);
}

.notification-error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.9), rgba(211, 47, 47, 0.9));
    border-color: rgba(244, 67, 54, 0.5);
}

.notification-warning {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.9), rgba(245, 124, 0, 0.9));
    border-color: rgba(255, 152, 0, 0.5);
}

.notification-info {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.9), rgba(30, 136, 229, 0.9));
    border-color: rgba(33, 150, 243, 0.5);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 500;
}

.notification-content i {
    font-size: 1.2rem;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.notification-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mensagem de nenhuma tarefa */
.no-tasks-message {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
    grid-column: 1 / -1;
}

.no-tasks-message i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.no-tasks-message h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.no-tasks-message p {
    margin: 0;
    font-size: 1rem;
}

/* Estilos para o cabeçalho do formulário de tarefas */
.task-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-toggle-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-toggle-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Estilos para tags de código */
.code-tag {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 2px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Estilos para botões de excluir tarefa */
.task-delete-btn {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.task-delete-btn:hover {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

/* Estilos para números e lotes de tarefas */
.task-number {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
}

.task-batch {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Estilos para seção de alteração de senha expansível */
.password-section {
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.password-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0;
}

.password-toggle-btn {
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.password-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.password-toggle-btn span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.password-form {
    padding: 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.password-form .form-group {
    margin-bottom: 16px;
}

.password-form .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}

.password-form .form-group input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: white;
    box-sizing: border-box;
    color: #212529;
}

.password-form .form-group input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.password-form .form-group input[type="password"]::placeholder {
    color: #6c757d;
    font-style: italic;
}

.password-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-change-password {
    padding: 12px 24px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.btn-change-password:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.btn-cancel-password {
    padding: 12px 24px;
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.2);
}

.btn-cancel-password:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

/* Responsividade para seção de senha */
@media (max-width: 768px) {
    .password-actions {
        flex-direction: column;
    }
    
    .btn-change-password,
    .btn-cancel-password {
        width: 100%;
        justify-content: center;
    }
}