/* Cat Catch Mouse - Main Styles */

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

body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 25px;
}

/* ============================================
   HEADER STYLES
   ============================================ */

.site-header {
    text-align: center;
    margin-bottom: 25px;
    z-index: 50;
}

.site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.logo-icon {
    font-size: 36px;
    animation: bounce 1s ease-in-out infinite;
}

.logo-icon:nth-child(3) {
    animation-delay: 0.2s;
}

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

.site-title {
    font-family: 'Courier New', monospace;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-shadow:
        3px 3px 0 #ff6b6b,
        -1px -1px 0 #4ecdc4,
        2px -2px 0 #ffe66d;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.site-slogan {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    margin-top: 8px;
    letter-spacing: 1px;
    animation: rainbow 6s linear infinite;
    text-transform: uppercase;
}

@keyframes rainbow {
    0% { color: #ff6b6b; text-shadow: 0 0 8px #ff6b6b, 0 0 15px #ff6b6b; }
    20% { color: #ffe66d; text-shadow: 0 0 8px #ffe66d, 0 0 15px #ffe66d; }
    40% { color: #4ecdc4; text-shadow: 0 0 8px #4ecdc4, 0 0 15px #4ecdc4; }
    60% { color: #a855f7; text-shadow: 0 0 8px #a855f7, 0 0 15px #a855f7; }
    80% { color: #22c55e; text-shadow: 0 0 8px #22c55e, 0 0 15px #22c55e; }
    100% { color: #ff6b6b; text-shadow: 0 0 8px #ff6b6b, 0 0 15px #ff6b6b; }
}

/* ============================================
   GAME CONTAINER & CANVAS
   ============================================ */

.game-container {
    text-align: center;
    position: relative;
}

.game-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.info-box {
    background: rgba(255,255,255,0.2);
    padding: 10px 25px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

#gameCanvas {
    border: 4px solid white;
    border-radius: 15px;
    background: #90EE90;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    cursor: none;
    width: 70vw;
    max-height: 75vh;
    object-fit: contain;
}

/* ============================================
   SOUND BUTTON
   ============================================ */

.sound-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    cursor: pointer;
    font-size: 24px;
    transition: transform 0.2s, background 0.2s;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sound-btn:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.3);
}

.sound-btn.muted {
    opacity: 0.6;
}

/* ============================================
   INSTRUCTIONS MARQUEE
   ============================================ */

.instructions {
    margin-top: 15px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 25px;
    padding: 8px 20px;
}

.instruction-text {
    color: #ffe66d;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
    display: inline-block;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.blink {
    animation: blink 0.8s step-end infinite;
    color: #ff6b6b;
}

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

.wiggle {
    display: inline-block;
    animation: wiggle 0.5s ease-in-out infinite;
    margin: 0 5px;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* ============================================
   GAME OVER SCREEN
   ============================================ */

.game-over {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 40px 60px;
    border-radius: 20px;
    text-align: center;
    display: none;
    z-index: 100;
}

.game-over h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.game-over p {
    font-size: 24px;
    margin-bottom: 25px;
}

.game-over.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translate(-50%, -50%) translateX(0); }
    25% { transform: translate(-50%, -50%) translateX(-5px); }
    75% { transform: translate(-50%, -50%) translateX(5px); }
}

.game-over-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 16px;
}

.game-over-name strong {
    color: #FFD700;
}

.game-over-name-edit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.game-over-name-edit input {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    width: 150px;
}

.game-over-name-edit .save-name-btn {
    padding: 8px 16px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.restart-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.restart-btn:hover {
    background: #45a049;
    transform: scale(1.05);
}

.invite-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 20px;
}

.invite-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* ============================================
   LEVEL SELECT SCREEN
   ============================================ */

.level-select {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.95);
    color: white;
    padding: 40px 60px;
    border-radius: 20px;
    text-align: center;
    z-index: 100;
}

.level-select h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.level-select p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.level-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.level-btn {
    padding: 20px 35px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.level-btn:hover {
    transform: scale(1.05);
}

.high-score {
    font-size: 11px;
    opacity: 0.8;
    font-weight: normal;
}

.level-btn.easy {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.level-btn.medium {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.level-btn.hard {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.level-btn.crazy {
    background: linear-gradient(135deg, #9C27B0, #6A1B9A);
    color: white;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(156, 39, 176, 0.5); }
    50% { box-shadow: 0 0 25px rgba(156, 39, 176, 0.8); }
}

/* Mode selection buttons */
.mode-select {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.mode-btn {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border: 3px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255,255,255,0.1);
    color: white;
}

.mode-btn:hover {
    background: rgba(255,255,255,0.2);
}

.mode-btn.active {
    border-color: #FFD700;
    background: rgba(255,215,0,0.2);
}

.mode-btn .mode-icon {
    margin-right: 8px;
}

/* Player name inline */
.player-name-inline {
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.player-name-inline label {
    font-size: 14px;
    opacity: 0.9;
}

.player-name-inline .player-display {
    font-weight: bold;
    font-size: 16px;
    color: #FFD700;
}

.player-name-inline .edit-name-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.player-name-inline .edit-name-btn:hover {
    opacity: 1;
}

.player-name-inline input {
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    max-width: 150px;
}

.player-name-inline .save-name-btn {
    padding: 6px 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

.player-name-inline .save-name-btn:hover {
    background: #45a049;
}

.preview-canvas {
    border-radius: 10px;
    margin-bottom: 20px;
}

/* ============================================
   HIGH SCORE ANIMATION
   ============================================ */

.new-high-score {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 0 20px #FFD700, 0 0 40px #FFA500;
    z-index: 200;
    animation: newHighScore 1.5s ease-out forwards;
    pointer-events: none;
}

@keyframes newHighScore {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    20% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
    80% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.copied-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 200;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
}

.copied-toast::before {
    content: '\2713';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    font-size: 14px;
}

.copied-toast.show {
    opacity: 1;
    animation: toastPop 0.5s ease-out forwards;
}

@keyframes toastPop {
    0% { transform: translateX(-50%) translateY(100px) scale(0.8); }
    50% { transform: translateX(-50%) translateY(-10px) scale(1.05); }
    100% { transform: translateX(-50%) translateY(0) scale(1); }
}

/* ============================================
   ACHIEVEMENT POPUP
   ============================================ */

.achievement-popup {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: bold;
    z-index: 200;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255,215,0,0.4);
}

.achievement-popup.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   LEADERBOARD SIDEBAR
   ============================================ */

.leaderboard-sidebar {
    position: fixed;
    top: 170px;
    left: 15px;
    width: 230px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 18px;
    color: white;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.1);
}

.leaderboard-sidebar h3 {
    text-align: center;
    margin-bottom: 12px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.leaderboard-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}

.leaderboard-tab {
    flex: 1;
    padding: 6px 4px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
    transition: all 0.2s;
}

.leaderboard-tab:hover {
    background: rgba(255,255,255,0.2);
}

.leaderboard-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.leaderboard-list {
    max-height: none;
    overflow-y: visible;
}

.leaderboard-entry {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 5px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    font-size: 12px;
    transition: background 0.2s;
}

.leaderboard-entry:hover {
    background: rgba(255,255,255,0.1);
}

.leaderboard-entry.top-1 {
    background: linear-gradient(135deg, rgba(255,215,0,0.25), rgba(255,180,0,0.15));
    border: 1px solid rgba(255,215,0,0.3);
}

.leaderboard-entry.top-2 {
    background: linear-gradient(135deg, rgba(192,192,192,0.25), rgba(160,160,160,0.15));
    border: 1px solid rgba(192,192,192,0.3);
}

.leaderboard-entry.top-3 {
    background: linear-gradient(135deg, rgba(205,127,50,0.25), rgba(180,100,40,0.15));
    border: 1px solid rgba(205,127,50,0.3);
}

.leaderboard-rank {
    width: 28px;
    font-weight: bold;
    font-size: 14px;
}

.leaderboard-name {
    flex: 1;
    font-weight: 600;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 8px;
}

.leaderboard-score {
    font-size: 13px;
    color: #FFD700;
    font-weight: bold;
}

.leaderboard-empty {
    text-align: center;
    opacity: 0.6;
    padding: 30px 15px;
    font-size: 13px;
}

.clear-data-btn {
    width: 100%;
    padding: 10px;
    background: rgba(220, 53, 69, 0.8);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.2s;
}

.clear-data-btn:hover {
    background: #dc3545;
}

/* ============================================
   ACHIEVEMENTS SIDEBAR
   ============================================ */

.achievements-sidebar {
    position: fixed;
    top: 170px;
    right: 15px;
    width: 200px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 15px;
    color: white;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.1);
}

.achievements-sidebar h3 {
    text-align: center;
    margin-bottom: 12px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    margin-bottom: 5px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    font-size: 11px;
    transition: background 0.2s;
}

.achievement-badge:hover {
    background: rgba(255,255,255,0.1);
}

.achievement-badge.locked {
    opacity: 0.4;
}

.achievement-badge.unlocked {
    background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,180,0,0.1));
    border: 1px solid rgba(255,215,0,0.3);
}

.achievement-badge .badge-icon {
    font-size: 20px;
}

.achievement-badge .badge-info {
    flex: 1;
    overflow: hidden;
}

.achievement-badge .badge-name {
    font-weight: bold;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.achievement-badge .badge-desc {
    font-size: 9px;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   SIDEBAR TOGGLE BUTTONS (Mobile)
   ============================================ */

.sidebar-toggle {
    display: none;
    position: fixed;
    top: 170px;
    width: 44px;
    height: 44px;
    background: rgba(26, 26, 46, 0.95);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 150;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: rgba(102, 126, 234, 0.9);
    transform: scale(1.1);
}

.sidebar-toggle.left {
    left: 10px;
}

.sidebar-toggle.right {
    right: 10px;
}

.close-btn {
    display: block;
    margin: 20px auto 0;
    padding: 10px 30px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

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

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1500px) {
    .leaderboard-sidebar,
    .achievements-sidebar {
        position: fixed;
        top: 100px;
        width: 220px;
        max-height: calc(100vh - 120px);
        transition: transform 0.3s ease;
        z-index: 140;
    }

    .leaderboard-sidebar {
        left: 0;
        border-radius: 0 16px 16px 0;
        transform: translateX(-100%);
    }

    .achievements-sidebar {
        right: 0;
        border-radius: 16px 0 0 16px;
        transform: translateX(100%);
    }

    .leaderboard-sidebar.expanded {
        transform: translateX(0);
    }

    .achievements-sidebar.expanded {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        top: 100px;
    }

    .sidebar-toggle.left.expanded {
        left: 230px;
    }

    .sidebar-toggle.right.expanded {
        right: 230px;
    }

    .site-header {
        margin-bottom: 10px;
    }

    .site-title {
        font-size: 22px;
    }

    .site-slogan {
        font-size: 12px;
    }

    #gameCanvas {
        width: 85vw;
        max-width: 100%;
    }
}

@media (max-width: 1000px) {
    body {
        padding-top: 10px;
    }

    .site-header {
        margin-bottom: 5px;
    }

    .site-title {
        font-size: 18px;
    }

    .site-slogan {
        font-size: 10px;
    }

    .logo-icon {
        font-size: 24px;
    }

    .leaderboard-sidebar,
    .achievements-sidebar {
        top: 70px;
        width: 200px;
        max-height: calc(100vh - 90px);
    }

    .sidebar-toggle {
        top: 70px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .sidebar-toggle.left.expanded {
        left: 210px;
    }

    .sidebar-toggle.right.expanded {
        right: 210px;
    }

    .game-info {
        font-size: 14px;
        flex-wrap: wrap;
        gap: 5px;
    }

    .info-box {
        padding: 5px 10px;
    }

    #gameCanvas {
        width: 95vw;
    }

    /* Mobile modal fixes */
    .level-select,
    .game-over {
        width: 90vw;
        max-width: 400px;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .level-select h2,
    .game-over h2 {
        font-size: 24px;
    }

    .level-buttons {
        flex-wrap: wrap;
    }

    .level-btn {
        padding: 12px 20px;
        font-size: 14px;
        flex: 1 1 40%;
    }

    .mode-select {
        flex-wrap: wrap;
    }

    .mode-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .player-name-inline {
        flex-wrap: wrap;
        padding: 10px;
    }

    .preview-canvas {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .restart-btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    .invite-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .level-select,
    .game-over {
        width: 95vw;
        padding: 15px;
    }

    .level-select h2,
    .game-over h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .level-select p {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .level-buttons {
        gap: 8px;
    }

    .level-btn {
        padding: 10px 15px;
        font-size: 12px;
    }

    .high-score {
        font-size: 9px;
    }

    .mode-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .player-name-inline label {
        font-size: 12px;
    }

    .player-name-inline .player-display {
        font-size: 14px;
    }

    .game-over p {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .game-over-name {
        font-size: 14px;
        flex-wrap: wrap;
    }

    .restart-btn {
        padding: 10px 25px;
        font-size: 14px;
    }

    .invite-btn {
        padding: 8px 16px;
        font-size: 12px;
        margin-top: 10px;
    }
}

/* ============================================
   CUSTOM CONFIRM DIALOG
   ============================================ */

.confirm-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 300;
}

.confirm-dialog-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 20px;
    padding: 30px 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.confirm-dialog-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.confirm-dialog-message {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    opacity: 0.9;
}

.confirm-dialog-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.confirm-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.confirm-btn:hover {
    transform: scale(1.05);
}

.confirm-btn.yes {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.confirm-btn.yes:hover {
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.4);
}

.confirm-btn.no {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
}

.confirm-btn.no:hover {
    box-shadow: 0 5px 20px rgba(108, 117, 125, 0.4);
}

@media (max-width: 480px) {
    .confirm-dialog-content {
        padding: 20px 25px;
    }

    .confirm-dialog-icon {
        font-size: 36px;
    }

    .confirm-dialog-message {
        font-size: 14px;
    }

    .confirm-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
