/* RaiseModal Styles - Condensed Version */
.raise-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.raise-modal {
    background: #2c3e50;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 300px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    outline: none;
}

.raise-modal-header {
    background: #34495e;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #465a6b;
}

.raise-modal-header h3 {
    margin: 0;
    color: #ecf0f1;
    font-size: 16px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: #bdc3c7;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #e74c3c;
    color: white;
}

.raise-modal-body {
    padding: 15px;
}

.raise-info {
    margin-bottom: 15px;
}

.pot-info {
    text-align: center;
    padding: 6px 12px;
    background: #1a252f;
    border-radius: 6px;
    border: 1px solid #465a6b;
    margin-bottom: 8px;
}

.current-pot {
    color: #bdc3c7;
    font-size: 14px;
    font-weight: 500;
}

.pot-value {
    color: #f39c12;
    font-weight: 700;
    font-size: 16px;
}

.raise-range {
    display: flex;
    justify-content: space-between;
    padding: 6px 12px;
    background: #34495e;
    border-radius: 6px;
    border: 1px solid #465a6b;
}

.min-raise, .max-raise {
    color: #bdc3c7;
    font-size: 12px;
}

.min-value, .max-value {
    color: #2ecc71;
    font-weight: 600;
}

.raise-display {
    margin-bottom: 15px;
    position: relative;
}

.raise-input {
    width: 100%;
    padding: 10px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    background: #34495e;
    border: 2px solid #465a6b;
    border-radius: 6px;
    color: #2ecc71;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.raise-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.validation-message {
    position: absolute;
    bottom: 1px;
    left: 0;
    right: 0;
    text-align: center;
    color: #e74c3c;
    font-size: 10px;
    font-weight: 400;
}

.keypad {
    margin-bottom: 15px;
}

.keypad-row {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
    justify-content: center;
}

.key-btn {
    flex: 1;
    height: 40px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #34495e;
    color: #ecf0f1;
    border: 1px solid #465a6b;
    min-width: 50px;
}

.key-btn:hover {
    background: #465a6b;
    transform: translateY(-1px);
}

.key-btn:active {
    transform: translateY(0);
    background: #3498db;
}

.key-btn.number {
    background: #34495e;
}

.key-btn.min-btn, .key-btn.max-btn {
    background: #27ae60;
    color: white;
    font-size: 14px;
}

.key-btn.min-btn:hover, .key-btn.max-btn:hover {
    background: #2ecc71;
}

.key-btn.clear-btn {
    background: #e67e22;
    color: white;
    font-size: 12px;
}

.key-btn.clear-btn:hover {
    background: #f39c12;
}

.key-btn.backspace-btn {
    background: #8e44ad;
    color: white;
}

.key-btn.backspace-btn:hover {
    background: #9b59b6;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.cancel-btn, .confirm-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cancel-btn {
    background: #7f8c8d;
    color: white;
}

.cancel-btn:hover {
    background: #95a5a6;
}

.confirm-btn {
    background: #c0392b;
    color: white;
}

.confirm-btn:hover:not(:disabled) {
    background: #a93226;
    transform: translateY(-1px);
}

.confirm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .raise-modal {
        width: 95%;
        margin: 5px;
        max-width: 280px;
    }

    .raise-modal-body {
        padding: 12px;
    }

    .key-btn {
        height: 36px;
        font-size: 14px;
        min-width: 45px;
    }

    .raise-input {
        font-size: 18px;
        padding: 8px;
    }

    .keypad-row {
        gap: 4px;
        margin-bottom: 4px;
    }

    .raise-info {
        margin-bottom: 12px;
    }

    .raise-display {
        margin-bottom: 12px;
    }

    .keypad {
        margin-bottom: 12px;
    }
}

@media (max-height: 600px) {
    .raise-modal-body {
        padding: 10px;
    }

    .key-btn {
        height: 35px;
        font-size: 14px;
    }

    .raise-input {
        padding: 8px;
        font-size: 18px;
    }

    .raise-info {
        margin-bottom: 10px;
    }

    .raise-display {
        margin-bottom: 10px;
    }

    .keypad {
        margin-bottom: 10px;
    }
}