/* Million Pray - Responsive CSS */
/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base font and palette inspired by metthasamadhi.com */

:root {
    --primary-500: #003366; /* midnight blue */
    --primary-600: #001f3f; /* dark navy */
    --primary-400: #4A90E2; /* sky blue */
    --accent: #d4b16a; /* gold - keep or change to silver */
    --accent-light: #f4e6b5; /* light gold */
    --muted: #6b6b6b;
    --text: #333;
    --bg: #fbfbf9; /* cream background */
    --card: #ffffff;
    --border: #e8e8e8;
    --soft-shadow: 0 6px 24px rgba(0,51,102,0.08);
}

body {
    font-family: 'Prompt', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header styles */
[data-theme="dark"] {
    --bg: #181818;
    --card: #232323;
    --text: #eee;
    --primary-500: #d4b16a;
    --primary-600: #bfa14a;
    --border: #444;
    --muted: #aaa;
}
[data-theme="gold"] {
    --bg: #fffbe6;
    --card: #fff8d6;
    --text: #bfa14a;
    --primary-500: #bfa14a;
    --primary-600: #a68c3a;
    --border: #e8e8e8;
    --muted: #bfa14a;
}
/* Hero / Header */
.header {
    background: linear-gradient(180deg, rgba(0,51,102,0.95) 0%, rgba(0,31,63,0.95) 100%);
    color: #fff;
    padding: 34px 18px;
    text-align: center;
    box-shadow: var(--soft-shadow);
    border-bottom: 4px solid rgba(212,177,106,0.15);
}

.header h1 {
    font-size: 2.25rem;
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #d4b16a;
}

.header p {
    font-size: 1rem;
    opacity: 0.95;
    color: #d4b16a;
}

/* Container */
.container {
    max-width: 850px;
    margin: 24px auto;
    padding: 26px;
    background-color: var(--card);
    border-radius: 12px;
    box-shadow: var(--soft-shadow);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text);
}

h1 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--primary-600);
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,51,102,0.1);
}

h1 i {
    color: var(--primary-500);
    margin-right: 12px;
    font-size: 1.8rem;
}

h2 {
    color: var(--primary-600);
    border-bottom: 3px solid rgba(210,177,106,0.18);
    padding-bottom: 10px;
    font-size: 1.6rem;
}

h3 {
    text-align: center;
    color: var(--primary-600);
    font-size: 1.2rem;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

/* Menu grid */
.menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.menu-item {
    padding: 24px;
    border: 1px solid rgba(0,51,102,0.08);
    border-radius: 14px;
    text-align: left;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,248,246,0.98) 100%);
    box-shadow: 0 6px 18px rgba(0,51,102,0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,51,102,0.12);
}

.menu-item h3 {
    margin: 0 0 10px 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-600);
}

.menu-item p {
    margin: 0;
    font-size: 0.98rem;
    color: var(--muted);
}

.menu-item h3 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.menu-item p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

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

.stat-card {
    padding: 20px;
    border: 1px solid rgba(0,51,102,0.08);
    border-radius: 14px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,248,246,0.98) 100%);
    box-shadow: 0 6px 18px rgba(0,51,102,0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,51,102,0.1);
}

.stat-card i {
    font-size: 2rem;
    color: var(--primary-500);
    margin-bottom: 10px;
}

.stat-card .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-600);
    margin-bottom: 5px;
}

.stat-card .label {
    font-size: 0.9rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form styles */
.form-group {
    margin-bottom: 20px;
}

/* Form actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.form-actions .back-link {
    margin-top: 0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

input[type="text"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    background-color: #fff;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    background-color: #fff;
    box-shadow: 0 6px 18px rgba(0,51,102,0.08);
}

/* Button styles */
button {
    padding: 12px 26px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 8px 22px rgba(0,51,102,0.12);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0,51,102,0.14);
}

button:active {
    transform: translateY(0);
}

/* Table styles */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    table-layout: auto;
    min-width: 600px;
}

th, td {
    padding: 12px 14px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

th:first-child,
td:first-child {
    width: 60%;
    min-width: 120px;
}

th:last-child,
td:last-child {
    width: 40%;
    min-width: 80px;
    text-align: center;
}

th {
    background: var(--primary-600);
    color: #d4ae60;
    font-weight: 600;
    font-size: 0.95rem;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f0f8f0;
}

.total {
    font-weight: 700;
    background: linear-gradient(90deg, rgba(244,243,237,0.95), rgba(250,249,240,0.95)) !important;
    border-top: 2px solid rgba(212,177,106,0.2);
}

.rank {
    font-weight: 700;
    color: var(--primary-600);
    font-size: 1.05rem;
    width: 60px !important;
    max-width: 60px !important;
    text-align: center;
}

.top3 {
    background: linear-gradient(90deg, rgba(255,250,235,0.95), rgba(255,245,220,0.95));
}

.top1 {
    background: linear-gradient(90deg, rgba(235,250,240,0.95), rgba(220,245,230,0.95));
}

/* Message styles */
.success {
    color: #155724;
    background-color: #e9f7ee;
    border: 1px solid rgba(0,51,102,0.12);
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.error {
    color: #721c24;
    background-color: #fff1f0;
    border: 1px solid rgba(220,53,69,0.08);
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Message styles */
.message {
    padding: 12px 14px;
    background-color: #f0f8ff;
    border: 1px solid #add8e6;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    color: var(--muted);
    font-size: 0.92rem;
    padding: 22px 0;
    border-top: 1px solid var(--border);
}

/* Links */
a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color 0.18s ease;
}

a:hover {
    color: var(--primary-500);
    text-decoration: none;
}

/* Admin link */
.admin-link {
    text-align: right;
    margin: 20px 0;
}

.admin-btn {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(90deg, #f8f9fa, #e9ecef);
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.18s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.admin-btn:hover {
    background: linear-gradient(90deg, #e9ecef, #dee2e6);
    color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.admin-btn i {
    margin-right: 6px;
}

/* Login form styles */
.login-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,248,246,0.98) 100%);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,51,102,0.15);
    border: 1px solid rgba(0,51,102,0.08);
}

.login-form h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-600);
    font-size: 1.8rem;
}

.login-form h1 i {
    margin-right: 10px;
    color: var(--primary-500);
    font-size: 1.5rem;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 1.1rem;
    z-index: 2;
}

.input-group input[type="password"] {
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
    height: 50px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.25s ease;
    background-color: #fff;
    box-sizing: border-box;
}

.input-group input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-500);
    background-color: #fff;
    box-shadow: 0 8px 25px rgba(0,51,102,0.12);
    transform: translateY(-2px);
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.login-btn {
    width: 100%;
    height: 50px;
    padding: 0;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 8px 25px rgba(0,51,102,0.15);
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,51,102,0.2);
}

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

.error-message {
    background: linear-gradient(90deg, #fee, #fdd);
    color: #c33;
    border: 1px solid #fcc;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

/* Log section */
.log-section {
    margin-bottom: 30px;
}

/* Input form styles */
.input-form-card {
    max-width: 500px;
    margin: 30px auto;
    padding: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,248,246,0.98) 100%);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,51,102,0.15);
    border: 1px solid rgba(0,51,102,0.08);
}

.input-form-card.full-width {
    max-width: 100%;
}

.input-form-card h1 {
    text-align: center;
    margin-bottom: 35px;
    color: var(--primary-600);
    font-size: 1.8rem;
}

.input-form-card h1 i {
    margin-right: 12px;
    color: var(--primary-500);
    font-size: 1.6rem;
}

.input-group {
    margin-bottom: 30px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
}

.input-group input[type="text"],
.input-group input[type="number"],
.input-group input[type="date"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

.input-group input[type="text"]:focus,
.input-group input[type="number"]:focus,
.input-group input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-500);
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0,51,102,0.15);
    transform: translateY(-2px);
}

.input-group input[type="text"]::placeholder,
.input-group input[type="number"]::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.input-group small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.85rem;
    font-style: italic;
}

.submit-btn {
    width: 100%;
    height: 55px;
    padding: 0;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,51,102,0.2);
    margin-bottom: 15px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(0,51,102,0.25);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 500;
    text-align: center;
    font-size: 1rem;
}

.message i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.success-message {
    background: linear-gradient(90deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: linear-gradient(90deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Bottom actions */
.bottom-actions {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
}

.bottom-actions .back-link {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(180deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    border-radius: 10px;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bottom-actions .back-link:hover {
    background: linear-gradient(180deg, #e9ecef, #dee2e6);
    color: #495057;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.bottom-actions .back-link i {
    margin-right: 8px;
}

/* Warning block */
.warning-block {
    background: linear-gradient(90deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffeaa7;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 25px;
    text-align: center;
    color: #856404;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.15);
}

.warning-block i {
    font-size: 1.2rem;
    margin-right: 8px;
    color: #856404;
}

.warning-block strong {
    color: #856404;
}

/* Featured audio section */
.featured-audio {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    padding: 0 20px;
}

.featured-audio .menu-item.featured {
    max-width: 600px;
    width: 100%;
    background: linear-gradient(135deg, rgba(0,51,102,0.95), rgba(0,31,63,0.95));
    color: white;
    border: 2px solid rgba(212,177,106,0.3);
    box-shadow: 0 15px 40px rgba(0,51,102,0.3);
    transform: none;
}

.featured-audio .menu-item.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0,51,102,0.4);
}

.featured-audio .menu-item.featured h3 {
    color: #d4b16a;
    font-size: 1.4rem;
}

.featured-audio .menu-item.featured p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

.featured-audio .menu-item.featured i {
    color: #d4b16a;
}

.swal-custom-title {
    color: #003366 !important;
    font-family: 'Krub', Arial, sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
}

.swal-custom-html {
    font-family: 'Krub', Arial, sans-serif !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    color: #333 !important;
}

.swal-custom-html strong {
    color: #003366 !important;
    font-weight: 600 !important;
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 20px;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--primary-600);
    transition: all 0.2s ease;
}

.pagination a:hover {
    background-color: var(--primary-500);
    color: white;
}

.pagination a.active {
    background-color: var(--primary-600);
    color: white;
    font-weight: bold;
}

/* Responsive Design */

/* Tablet styles */
@media (max-width: 768px) {
    .header {
        padding: 15px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
    }

    .container {
        margin: 10px;
        padding: 15px;
        max-width: none;
    }

    .menu {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }

    .menu-item {
        padding: 20px;
    }

    .menu-item h3 {
        font-size: 1.1rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-card i {
        font-size: 1.5rem;
    }

    .stat-card .number {
        font-size: 1.5rem;
    }

    .stat-card .label {
        font-size: 0.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 8px 10px;
    }

    button {
        width: 100%;
        padding: 15px;
    }

    .input-form-card {
        max-width: 100%;
        padding: 20px;
        margin: 20px 0;
    }

    .input-form-card h1 {
        font-size: 1.5rem;
    }

    .input-group input[type="text"],
    .input-group input[type="number"],
    .input-group input[type="date"],
    textarea {
        font-size: 1rem;
        padding: 14px 16px;
    }

    .input-group label {
        font-size: 0.95rem;
    }

    .submit-btn {
        font-size: 1.1rem;
        height: 50px;
    }

    .warning-block {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
}

/* Mobile styles */
@media (max-width: 480px) {
    .header {
        padding: 12px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .header p {
        font-size: 0.95rem;
    }

    .container {
        margin: 5px;
        padding: 12px;
        max-width: none;
    }

    .menu-item {
        padding: 15px;
    }

    .menu-item h3 {
        font-size: 1rem;
    }

    .menu-item p {
        font-size: 0.85rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }

    .stat-card {
        padding: 12px;
    }

    .stat-card i {
        font-size: 1.2rem;
    }

    .stat-card .number {
        font-size: 1.2rem;
    }

    .stat-card .label {
        font-size: 0.75rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    input[type="text"],
    input[type="number"],
    input[type="date"],
    select,
    textarea {
        padding: 10px;
        font-size: 0.95rem;
    }

    button {
        padding: 12px;
        font-size: 0.95rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .form-actions button {
        width: 100%;
        margin-bottom: 0;
    }

    .form-actions .back-link {
        text-align: center;
        width: 100%;
    }

    /* Mobile table responsive */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    table {
        font-size: 0.85rem;
        min-width: 100%;
        display: table;
    }

    th, td {
        padding: 8px 6px;
        white-space: nowrap;
    }

    /* ปุ่มลบให้เล็กลง */
    .delete-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
        min-width: 60px;
    }

    .footer {
        font-size: 0.8rem;
        margin-top: 20px;
    }

    .pagination a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .input-form-card {
        max-width: 100%;
        padding: 15px;
        margin: 15px 0;
    }

    .input-form-card h1 {
        font-size: 1.3rem;
    }

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

    .input-group input[type="text"],
    .input-group input[type="number"],
    .input-group input[type="date"],
    textarea {
        font-size: 0.95rem;
        padding: 12px 14px;
    }

    .input-group label {
        font-size: 0.9rem;
    }

    .input-group small {
        font-size: 0.8rem;
    }

    .submit-btn {
        font-size: 1rem;
        height: 45px;
    }

    .warning-block {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .bottom-actions .back-link {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Extra small mobile */
@media (max-width: 320px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .menu-item {
        padding: 12px;
    }

    .container {
        padding: 8px;
    }

    .announcement-card {
        padding: 15px;
        max-width: 100%;
        text-align: center;
    }

    .announcement-section {
        max-width: 100%;
    }

    .announcement-section h2 {
        font-size: 1.3rem;
        text-align: center;
    }

    .info-message {
        padding: 10px 12px;
        font-size: 0.9rem;
        margin: 12px 0;
    }
}

/* Print styles */
@media print {
    .menu-item {
        border: 1px solid #000;
        page-break-inside: avoid;
    }

    .header {
        background: white !important;
        color: black !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    button {
        display: none;
    }
}

.delete-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.delete-btn:hover {
    background: #c82333;
}

/* Announcement styles */
.announcement-section {
    margin: 20px auto;
    max-width: 800px;
    text-align: center;
}

.announcement-section h2 {
    color: var(--primary-500);
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-align: center;
}

.announcement-card {
    background: var(--card);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: var(--soft-shadow);
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.announcement-card ul {
    margin: 10px auto 0;
    max-width: 600px;
    text-align: left;
    list-style-position: inside;
}

.announcement-card li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Info message styles */
.info-message {
    background: #f4e6b5;
    border: 1px solid #f4e6b5;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 18px 0;
    color: #003366;
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-message i {
    color: #007bff;
    font-size: 1.1rem;
    flex-shrink: 0;
}