.game-transaction-form {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.game-transaction-form .form-group {
    margin-bottom: 1.5rem;
}

.game-transaction-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.game-transaction-form select,
.game-transaction-form input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.game-transaction-form select:focus,
.game-transaction-form input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.game-transaction-form button {
    width: 100%;
    padding: 1rem;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.game-transaction-form button:hover {
    background: #45a049;
}

.game-transaction-form #form-message,
.game-transaction-form #game-form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    display: none;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    z-index: 1000;
    animation: slideDown 0.3s ease-out;
}

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

.game-transaction-form #form-message.success,
.game-transaction-form #game-form-message.success {
    display: block !important;
    background: #dff0d8 !important;
    color: #3c763d !important;
    border: 1px solid #d6e9c6 !important;
    box-shadow: 0 2px 8px rgba(60, 118, 61, 0.2);
}

.game-transaction-form #form-message.error,
.game-transaction-form #game-form-message.error {
    display: block !important;
    background: #f2dede !important;
    color: #a94442 !important;
    border: 1px solid #ebccd1 !important;
    box-shadow: 0 2px 8px rgba(169, 68, 66, 0.2);
}

/* Loading state */
.game-transaction-form button.loading {
    position: relative;
    color: transparent;
}

.game-transaction-form button.loading::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Add to your existing CSS file */
.amount-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.amount-increment-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.amount-preset-btn {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amount-preset-btn:hover {
    background-color: #e0e0e0;
}

.amount-preset-btn.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
} 


.woo-wheel-roll{
    height: 100vh !important;
}

/* Password Update Modal Styles */
.password-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.password-modal-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.password-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e1e1e1;
}

.password-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.password-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.password-modal-close:hover {
    background-color: #f5f5f5;
    color: #333;
}

.password-modal-body {
    padding: 24px;
}

.password-modal-body p {
    margin: 0 0 20px;
    color: #666;
    line-height: 1.5;
}

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

.password-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.password-input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    box-sizing: border-box;
}

.password-input-group input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    background-color: #ffffff;
}

.password-modal-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 500;
}

.password-modal-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.password-modal-message.checking {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.password-modal-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.password-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px 24px;
    border-top: 1px solid #e1e1e1;
}

.password-modal-cancel,
.password-modal-update {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.password-modal-cancel {
    background-color: #6c757d;
    color: white;
}

.password-modal-cancel:hover {
    background-color: #5a6268;
}

.password-modal-update {
    background-color: #4CAF50;
    color: white;
}

.password-modal-update:hover {
    background-color: #45a049;
}

.password-modal-update:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Responsive design */
@media (max-width: 600px) {
    .password-modal-overlay {
        padding: 10px;
    }
    
    .password-modal-content {
        max-height: 95vh;
    }
    
    .password-modal-header,
    .password-modal-body,
    .password-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .password-modal-footer {
        flex-direction: column;
    }
    
    .password-modal-cancel,
    .password-modal-update {
        flex: none;
    }
}