/* CC 2026/1 - Dark Discord Style CSS */

:root {
    --bg-color: #0d0f17;
    --card-bg: rgba(26, 29, 44, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #949ba4; /* Discord-like secondary text color */
    --accent-color: #5865f2; /* Discord Blurple */
    --accent-hover: #4752c4;
    --accent-gradient: linear-gradient(135deg, #5865f2 0%, #3e48b1 100%);
    --danger-color: #ed4245;
    --success-color: #3ba55c;
    --nav-height: 70px;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); /* Suave e fluido (easeOutQuart) */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Effect */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    background: rgba(13, 15, 23, 0.85);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.logo span {
    background: linear-gradient(135deg, #ffffff 0%, #949ba4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero Section - REDESIGNED CLEAN */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

/* Background Image with Overlay */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/campus.png') center/cover no-repeat;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 15, 23, 0.6) 0%, rgba(13, 15, 23, 0.95) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.2);
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, #5865f2 0%, #a2abff 50%, #5865f2 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(88, 101, 242, 0.3));
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

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

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

.hero p {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 650px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 48px;
    text-align: left;
}

.section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.section-header h2 i {
    color: var(--accent-color);
}

.section-header p {
    color: var(--text-secondary);
}

/* Grid Layouts */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Cards */
.card {
    padding: 24px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(88, 101, 242, 0.3);
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
    font-weight: 600;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card .meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-em-andamento { background: rgba(88, 101, 242, 0.15); color: var(--accent-color); }
.status-concluida { background: rgba(59, 165, 92, 0.15); color: var(--success-color); }
.status-futura { background: rgba(148, 155, 164, 0.15); color: var(--text-secondary); }

/* Accordion */
.accordion-item {
    margin-bottom: 12px;
}

.accordion-header {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.accordion-item.active .accordion-content {
    grid-template-rows: 1fr;
}

.accordion-inner {
    min-height: 0;
}

.accordion-item.active .accordion-inner {
    padding: 24px 0;
}

.accordion-item.active .accordion-header {
    border-color: var(--accent-color);
    background: rgba(88, 101, 242, 0.05);
}

/* Agenda Items */
.list-container {
    padding: 8px;
    border-radius: 16px;
}

.list-item {
    padding: 20px 24px;
    border-bottom: 1px solid var(--glass-border);
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 24px;
    transition: var(--transition);
}

.list-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.list-item:last-child {
    border-bottom: none;
}

.date-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.date-box .day {
    font-size: 1.4rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.date-box .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
}

.event-info h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.event-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.event-attachment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 6px 12px;
    background: rgba(88, 101, 242, 0.1);
    color: var(--accent-color);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(88, 101, 242, 0.2);
    transition: var(--transition);
}

.event-attachment:hover {
    background: rgba(88, 101, 242, 0.2);
    transform: translateX(5px);
}

.event-attachment i {
    font-size: 1rem;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
    background: rgba(13, 15, 23, 0.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 8px;
}

.footer-links p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Modal Base Structure */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 18, 0.9) !important; /* Fundo mais escuro e sólido */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999 !important; /* Garantir que fique acima de tudo */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Content Card */
.modal-content {
    width: 90% !important;
    max-width: 650px !important;
    max-height: 85vh !important;
    padding: 40px !important;
    overflow-y: auto !important;
    position: relative !important;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: #1a1d2c !important; /* Cor sólida para garantir o design */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
}

.modal.active .modal-content {
    transform: scale(1);
}

/* Header Refinement */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 20px !important;
}

.modal-header h2 {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Body & Typography */
.modal-body {
    line-height: 1.8 !important;
    text-align: left !important; /* Alinhamento à esquerda garantido */
}

#aviso-modal-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px !important;
    font-size: 0.85rem !important;
    color: #949ba4 !important;
    justify-content: flex-start !important;
}

#aviso-modal-content {
    font-size: 1.05rem !important;
    color: #dbdee1 !important; /* Cor de texto do Discord */
    white-space: pre-wrap !important;
    line-height: 1.7 !important;
    text-align: left !important;
}

/* Material List Items */
.material-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
    margin-bottom: 8px;
    width: 100%;
}

.material-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--glass-border);
    transform: translateX(5px);
}

.material-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    text-align: left;
}

.material-name {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.material-type {
    padding: 2px 8px;
    background: rgba(88, 101, 242, 0.1);
    color: var(--accent-color);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0; /* Impede que a badge encolha ou se mova estranhamente */
    margin-left: auto; /* Empurra a badge para a direita do container de info ou alinha fixo */
}

.material-download {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-left: 15px;
    transition: var(--transition);
}

.material-item:hover .material-download {
    color: var(--accent-color);
}

/* Modal Logout (Overlay) */
.modal-overlay {
    background: rgba(10, 12, 18, 0.9) !important;
    backdrop-filter: blur(12px) !important;
    z-index: 9999 !important;
}

.modal-overlay .modal-content {
    max-width: 420px !important;
    text-align: center !important;
}

/* Modal Accordions */
.modal-accordion {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    width: 100%;
}

.modal-accordion-header {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
}

.modal-accordion-header h4 {
    font-size: 1rem;
    color: var(--accent-color);
}

.modal-accordion.active .modal-accordion-header {
    border-bottom: 1px solid var(--glass-border);
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--text-primary);
}

.btn-cancel, .btn-submit {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    margin-left: 12px;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-submit {
    background: var(--danger-color);
    color: white;
}

.btn-submit:hover {
    background: #d83c3e;
    transform: translateY(-2px);
}

/* Timetable */
.timetable-card {
    padding: 24px;
}

.day-title {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.class-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.class-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    min-width: 85px;
    font-weight: 600;
}

.class-details {
    display: flex;
    flex-direction: column;
}

.class-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.class-room {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Link Cards */
.link-category-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--glass-border);
    transform: translateX(5px);
}

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

.link-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.link-desc {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.link-item i {
    color: var(--text-secondary);
    transition: var(--transition);
}

.link-item:hover i {
    color: var(--accent-color);
}

/* Active Day Highlight */
.timetable-card.active-day {
    border-color: var(--accent-color);
    background: rgba(88, 101, 242, 0.1);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.1);
}

.today-badge {
    background: var(--accent-color);
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

/* Search Bar */
.search-container {
    margin-bottom: 32px;
    position: relative;
    max-width: 400px;
}

.search-container i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

/* Next Event Highlight */
.list-item.next-event {
    background: rgba(88, 101, 242, 0.05);
    border-left: 4px solid var(--accent-color);
}

.next-badge {
    background: var(--accent-color);
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: 700;
}

/* Info Widget */
.info-widget {
    margin-top: 48px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-item i {
    color: var(--accent-color);
}

/* Community Cards */
.community-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.community-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.version-badge {
    font-size: 0.65rem;
    background: rgba(88, 101, 242, 0.1);
    color: var(--accent-color);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
}

.btn.success {
    background: var(--success-color) !important;
    border-color: var(--success-color) !important;
    transform: scale(1.05);
}

/* Feedback de Cópia */
.btn-copy-feedback {
    position: relative;
    overflow: hidden;
}

.btn-copy-feedback::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

@keyframes ripple {
    0% { transform: scale(0, 0); opacity: 1; }
    20% { transform: scale(25, 25); opacity: 1; }
    100% { opacity: 0; transform: scale(40, 40); }
}

.btn-copy-feedback.animating::after {
    animation: ripple 0.6s ease-out;
}

.ip-display {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 8px;
    margin: 12px 0;
    text-align: center;
    border: 1px dashed var(--glass-border);
    transition: var(--transition);
}

.ip-display.copied {
    border-color: var(--success-color);
    background: rgba(59, 165, 92, 0.1);
    transform: scale(1.02);
}

.ip-display code {
    color: var(--accent-color);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.ip-display.copied code {
    color: var(--success-color);
}

.minecraft-card {
    border-color: rgba(59, 165, 92, 0.3);
}

.minecraft-card i {
    color: var(--success-color) !important;
}

/* Contributor Cards - CLEAN REFINED */
.grid-contributors {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.contributor-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.contributor-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background: rgba(88, 101, 242, 0.05);
}

.contributor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-color);
    flex-shrink: 0;
}

.contributor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contributor-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.contributor-role {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.contributor-socials {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    border: 1px solid var(--glass-border);
}

.social-link.github:hover {
    background: #24292e;
    color: white;
    border-color: #24292e;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}

.add-contributor-card {
    border: 1px dashed var(--glass-border);
    background: transparent;
}

.add-avatar {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed var(--glass-border) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.btn-minimal {
    font-size: 0.75rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { height: auto; padding: 120px 0 80px; }
    .hero h1 { font-size: 2.8rem; }
    .nav-links { display: none; }
    .list-item { grid-template-columns: 1fr; text-align: center; gap: 16px; }
    .date-box { width: 80px; margin: 0 auto; }
    .footer-content { flex-direction: column; text-align: center; }
}

.hidden {
  display: none !important;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  color: #ffffff;
  font-weight: bold;
}

.btn-login {
  background-color: #5865f2;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-login:hover {
  background-color: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(88, 101, 242, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-logout {
  background-color: #5865f2;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-logout:hover {
  background-color: #1b0edb;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex; justify-content: center; align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn-cancel {
  background: #444;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 10px;
  transition: background 0.3s;
}

.btn-cancel:hover {
  background: #555;
}

.btn-submit {
  background: #ff0000;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #9b0000;
}
