/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Arial', 'Microsoft YaHei', sans-serif;
    background: #e8e8e8;
    color: #222;
    line-height: 1.4;
}

/* ==================== HEADER ==================== */
.main-header {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 12px 0;
    border-bottom: 3px solid #ffd700;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* ==================== HAMBURGER MENU ==================== */
.nav-menu-wrapper {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
    padding: 5px 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s;
    display: block;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.15);
}

.nav-menu a i {
    margin-right: 6px;
}

/* ==================== SECTION HEADERS ==================== */
.section-header-full {
    grid-column: 1 / -1;
    margin: 10px 0 5px 0;
}

.section-header-full:first-of-type {
    margin-top: 0;
}

.section-title {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 5px solid #ffd700;
}

.section-title i {
    margin-right: 10px;
    color: #ffd700;
}

.section-title.singapore {
    background: linear-gradient(135deg, #00529b 0%, #0077be 100%);
    border-left-color: #ffd700;
}

.section-title.sabah {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    border-left-color: #ffd700;
}

/* ==================== MAIN GRID CONTAINER ==================== */
.results-container {
    max-width: 1600px;
    margin: 20px auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* ==================== GAME CARDS ==================== */
.game-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-top: 4px solid;
    transition: transform 0.15s, box-shadow 0.15s;
}

.game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Brand-specific top borders */
.damacai { border-top-color: #dc3545; }
.magnum { border-top-color: #0066b3; }
.toto { border-top-color: #00843d; }
.sportstoto-extended { border-top-color: #00843d; }
.damacai-13d { border-top-color: #dc3545; }
.singapore { border-top-color: #00529b; }
.sabah88 { border-top-color: #ff6600; }
.sandakan { border-top-color: #8b4513; }
.cashsweep { border-top-color: #9370db; }
.gdlotto { border-top-color: #8b008b; }

/* ==================== CARD HEADER ==================== */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.operator-logo {
    width: 60px;
    height: 30px;
    object-fit: contain;
    border-radius: 4px;
}

.operator-icon {
    font-size: 28px;
    width: 60px;
    text-align: left;
}

/* Brand-specific icon colors */
.damacai .operator-icon,
.damacai-13d .operator-icon { color: #dc3545; }
.magnum .operator-icon { color: #0066b3; }
.toto .operator-icon,
.sportstoto-extended .operator-icon { color: #00843d; }
.singapore .operator-icon { color: #00529b; }
.sabah88 .operator-icon { color: #ff6600; }
.sandakan .operator-icon { color: #8b4513; }
.cashsweep .operator-icon { color: #9370db; }
.gdlotto .operator-icon { color: #8b008b; }

.draw-date-info {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.draw-date-info i {
    margin-right: 5px;
    color: #999;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.game-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.draw-no {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* ==================== MAIN PRIZES (1st, 2nd, 3rd) ==================== */
.prize-main {
    margin-bottom: 15px;
}

.prize-row {
    display: flex;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.prize-row:last-child {
    border-bottom: none;
}

.prize-label {
    width: 130px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

.prize-number {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 4px;
    cursor: pointer;
    transition: all 0.15s;
}

.prize-number:hover {
    transform: scale(1.05);
    text-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.prize-number.first { color: #d4af37; }
.prize-number.second { color: #888; }
.prize-number.third { color: #cd7f32; }

/* ==================== PRIZE SECTIONS ==================== */
.prize-section {
    margin-top: 15px;
}

.section-label {
    font-size: 13px;
    font-weight: 700;
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 10px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== NUMBER GRID (5 columns) ==================== */
.number-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.number-grid span {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 0;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    transition: all 0.15s;
}

.number-grid span.empty {
    background: #f0f0f0;
    color: #999;
    border: 1px solid #ccc;
    font-weight: 400;
    cursor: default;
}

.number-grid span:hover:not(.empty) {
    background: #e9ecef;
    border-color: #999;
    transform: scale(1.05);
}

/* ==================== SPORTS TOTO EXTENDED (5D/6D/Lotto) ==================== */
.lotto-section {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.lotto-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.lotto-title {
    font-size: 15px;
    font-weight: 700;
    color: #00843d;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.lotto-prizes {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
}

.lotto-row {
    display: grid;
    grid-template-columns: 50px 1fr 50px 1fr;
    gap: 10px;
    padding: 4px 0;
    font-size: 14px;
}

.lotto-row span:nth-child(odd) {
    font-weight: 600;
    color: #555;
}

.lotto-row span:nth-child(even) {
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.lotto-row-full {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 10px;
    padding: 4px 0;
    font-size: 14px;
}

.lotto-row-full span:first-child {
    font-weight: 600;
    color: #555;
}

.lotto-row-full span:last-child {
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.lotto-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.lotto-numbers span {
    background: #00843d;
    color: white;
    font-weight: 700;
    font-size: 16px;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    cursor: pointer;
    transition: all 0.15s;
}

.lotto-numbers span:hover {
    transform: scale(1.1);
    background: #006b31;
}

.lotto-numbers span.plus {
    background: #ffd700;
    color: #333;
    cursor: default;
}

.lotto-numbers span.plus:hover {
    transform: none;
    background: #ffd700;
}

.jackpot-info {
    font-size: 13px;
    color: #555;
    margin-top: 8px;
}

.jackpot-info span {
    font-weight: 700;
    color: #d32f2f;
}

/* ==================== DA MA CAI 1+3D SPECIFIC ==================== */
.prize-main-13d {
    margin-bottom: 10px;
}

.prize-block {
    background: #faf0f0;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.prize-row-13d {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.prize-number-combo {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.15s;
}

.prize-number-combo:hover {
    transform: scale(1.02);
    color: #dc3545;
}

.animal-code {
    background: #dc3545;
    color: white;
    padding: 2px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.bonus-row {
    margin-top: 6px;
    font-size: 13px;
    color: #666;
}

.bonus-row span {
    font-weight: 700;
    color: #d32f2f;
    font-size: 14px;
}

.number-grid-13d {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.number-grid-13d span {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 0;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.number-grid-13d span:hover {
    background: #e9ecef;
    border-color: #999;
    transform: scale(1.02);
}

/* ==================== HIGHLIGHTED NUMBER EFFECT ==================== */
.highlighted-number {
    background: #ffd700 !important;
    border-color: #ff8c00 !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6) !important;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: #333;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
    animation: slideIn 0.3s ease;
    transition: opacity 0.3s, transform 0.3s;
}

.toast-info { background: #0066b3; }
.toast-success { background: #28a745; }
.toast-search { background: #ff8c00; }
.toast-error { background: #dc3545; }

.toast-close {
    margin-left: auto;
    cursor: pointer;
    font-size: 20px;
    opacity: 0.7;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== LOADING OVERLAY ==================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0066b3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-overlay p {
    color: white;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== SEO CONTENT SECTION ==================== */
.seo-content {
    max-width: 1600px;
    margin: 30px auto;
    padding: 0 20px;
}

.seo-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.seo-section h2 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 20px;
    border-bottom: 3px solid #ffd700;
    padding-bottom: 12px;
    display: inline-block;
}

.seo-section h3 {
    font-size: 20px;
    color: #2d2d4e;
    margin: 25px 0 15px 0;
}

.seo-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 18px;
}

.seo-section ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.seo-section li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

.seo-section strong {
    color: #1a1a2e;
}

.seo-section a {
    color: #0066b3;
    text-decoration: none;
}

.seo-section a:hover {
    text-decoration: underline;
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    color: #ccc;
    margin-top: 40px;
    padding: 40px 0 20px 0;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #ffd700;
}

.footer-col a i {
    margin-right: 8px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
}

.social-links a:hover {
    background: #ffd700;
    color: #1a1a2e;
}

.footer-bottom {
    max-width: 1600px;
    margin: 30px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 15px;
}

.footer-bottom-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
}

.footer-bottom-links a:hover {
    color: #ffd700;
}

.copyright {
    font-size: 13px;
    color: #888;
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .main-header, 
    .main-footer, 
    .toast-container,
    .nav-menu-wrapper,
    .hamburger,
    #dateSelect {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .results-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 10px !important;
    }
    
    .game-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
    }
    
    .number-grid span {
        background: white !important;
        border: 1px solid #999 !important;
    }
    
    .highlighted-number {
        background: #e0e0e0 !important;
        box-shadow: none !important;
    }
    
    .seo-content {
        display: none;
    }
}

/* ==================== DARK MODE SUPPORT ==================== */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    .game-card {
        background: #2d2d2d;
        box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    }
    
    .card-header {
        border-bottom-color: #444;
    }
    
    .game-title {
        color: #e0e0e0;
    }
    
    .draw-no, .draw-date-info {
        color: #aaa;
    }
    
    .prize-label {
        color: #bbb;
    }
    
    .prize-row {
        border-bottom-color: #444;
    }
    
    .section-label {
        background: #3d3d3d;
        color: #e0e0e0;
    }
    
    .number-grid span {
        background: #3a3a3a;
        border-color: #555;
        color: #e0e0e0;
    }
    
    .number-grid span.empty {
        background: #2a2a2a;
        color: #777;
        border-color: #444;
    }
    
    .number-grid-13d span {
        background: #3a3a3a;
        border-color: #555;
        color: #e0e0e0;
    }
    
    .prize-block {
        background: #3a2525;
    }
    
    .lotto-prizes {
        background: #353535;
    }
    
    .lotto-section {
        border-bottom-color: #444;
    }
    
    .lotto-row span:nth-child(odd),
    .lotto-row-full span:first-child {
        color: #bbb;
    }
    
    .jackpot-info {
        color: #bbb;
    }
    
    .seo-section {
        background: #2d2d2d;
    }
    
    .seo-section h2 {
        color: #e0e0e0;
    }
    
    .seo-section h3 {
        color: #ccc;
    }
    
    .seo-section p, .seo-section li {
        color: #bbb;
    }
    
    .seo-section strong {
        color: #ffd700;
    }
    
    .operator-logo {
        filter: brightness(0.9);
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .results-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .header-container {
        position: relative;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 20px;
        background: #1a1a2e;
        flex-direction: column;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        min-width: 200px;
        border: 1px solid #333;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        padding: 12px 20px;
        border-radius: 6px;
    }
}

@media (max-width: 800px) {
    .results-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .section-title {
        font-size: 18px;
        padding: 10px 15px;
    }
    
    .prize-number {
        font-size: 20px;
        letter-spacing: 3px;
    }
    
    .prize-label {
        width: 110px;
        font-size: 12px;
    }
    
    .game-title {
        font-size: 15px;
    }
    
    .draw-no {
        font-size: 11px;
    }
    
    .operator-logo {
        width: 50px;
        height: 25px;
    }
    
    .operator-icon {
        font-size: 24px;
        width: 50px;
    }
    
    .number-grid span {
        font-size: 14px;
        padding: 5px 0;
    }
    
    .number-grid-13d span {
        font-size: 13px;
    }
    
    .prize-number-combo {
        font-size: 18px;
    }
    
    .lotto-numbers span {
        font-size: 14px;
        padding: 4px 10px;
    }
    
    .seo-section {
        padding: 20px;
    }
    
    .seo-section h2 {
        font-size: 22px;
    }
    
    .seo-section h3 {
        font-size: 18px;
    }
    
    .seo-section p, .seo-section li {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .results-container {
        padding: 0 10px;
        gap: 12px;
    }
    
    .game-card {
        padding: 12px;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .header-right {
        align-items: flex-start;
        width: 100%;
    }
    
    .prize-row {
        flex-wrap: wrap;
    }
    
    .prize-label {
        width: 100%;
        margin-bottom: 3px;
    }
    
    .prize-number {
        font-size: 22px;
        margin-left: 0;
    }
    
    .number-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
    }
    
    .number-grid span {
        font-size: 12px;
        padding: 4px 0;
    }
    
    .number-grid-13d {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lotto-row {
        grid-template-columns: 40px 1fr;
        gap: 5px;
    }
    
    .lotto-row span:nth-child(3),
    .lotto-row span:nth-child(4) {
        grid-column: span 2;
    }
    
    .lotto-numbers {
        gap: 5px;
    }
    
    .lotto-numbers span {
        font-size: 13px;
        padding: 3px 8px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .toast {
        min-width: 150px;
        font-size: 12px;
        padding: 10px 15px;
    }
    
    #dateSelect {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-10 {
    margin-top: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}

/* ==================== ADMIN PANEL STYLES ==================== */
.admin-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ffd700;
}

.admin-header h1 {
    color: #1a1a2e;
    font-size: 28px;
}

.admin-header a {
    background: #dc3545;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.admin-header a:hover {
    background: #c82333;
}

.admin-login-form {
    max-width: 400px;
    margin: 100px auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.admin-login-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1a1a2e;
}

.admin-login-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    margin-bottom: 20px;
}

.admin-login-form input[type="password"]:focus {
    border-color: #ffd700;
    outline: none;
}

.admin-login-form button {
    width: 100%;
    padding: 12px;
    background: #1a1a2e;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.admin-login-form button:hover {
    background: #2d2d4e;
}

.admin-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.admin-section h3 {
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.admin-form-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.admin-form-row label {
    font-weight: 600;
    color: #555;
}

.admin-form-row input[type="text"],
.admin-form-row input[type="date"],
.admin-form-row select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.admin-form-row input[type="text"]:focus,
.admin-form-row input[type="date"]:focus,
.admin-form-row select:focus {
    border-color: #0066b3;
    outline: none;
}

.admin-form-row button {
    grid-column: 2;
    padding: 12px 25px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
}

.admin-form-row button:hover {
    background: #218838;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}