/**
 * TouchPay Payment Gateway Styles
 */

.touchpay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.touchpay-modal {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 100%;
    overflow: hidden;
}

.touchpay-modal-header {
    padding: 20px;
    background-color: #59bfc9;
    color: white;
}

.touchpay-modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.touchpay-modal-body {
    padding: 20px;
}

.touchpay-modal-body p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #333;
}

.touchpay-modal-body .form-group {
    margin-bottom: 15px;
}

.touchpay-modal-body .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.touchpay-modal-body .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 2px;
    box-sizing: border-box;
}

.touchpay-modal-body .form-group input:focus {
    outline: none;
    border-color: #59bfc9;
    box-shadow: 0 0 0 3px rgba(89, 191, 201, 0.1);
}

.touchpay-modal-body button {
    width: 100%;
    padding: 10px;
    background-color: #59bfc9;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.touchpay-modal-body button:hover {
    background-color: #49acb9;
}

.touchpay-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: center;
    background-color: #f9f9f9;
    font-size: 12px;
    color: #666;
}

.touchpay-error-message {
    padding: 10px;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 13px;
    border: 1px solid #f5c6cb;
}

.touchpay-success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 10000;
    border: 1px solid #c3e6cb;
    font-size: 14px;
}

/* Responsive styles */
@media (max-width: 600px) {
    .touchpay-modal {
        max-width: 90%;
        width: 90%;
    }
    
    .touchpay-modal-header h2 {
        font-size: 16px;
    }
    
    .touchpay-modal-body {
        padding: 15px;
    }
    
    .touchpay-success-message {
        top: auto;
        right: auto;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
}
