/**
 * SeaXPay Payment Page Styles
 */

.seaxpay-payment-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.seaxpay-payment-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.seaxpay-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.seaxpay-header h1 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #333;
}

.seaxpay-order-info {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.seaxpay-step h2 {
    font-size: 22px;
    color: #333;
    margin: 0 0 20px 0;
}

.seaxpay-coin-list {
    margin-bottom: 30px;
}

.seaxpay-coin-group {
    margin-bottom: 25px;
}

.seaxpay-coin-group h3 {
    font-size: 18px;
    color: #555;
    margin: 0 0 15px 0;
}

.seaxpay-coin-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.seaxpay-coin-option:hover {
    border-color: #4CAF50;
    background-color: #f9f9f9;
}

.seaxpay-coin-option.recommended {
    border-color: #4CAF50;
    background-color: #f0f8f0;
}

.seaxpay-coin-radio {
    margin-right: 15px;
}

.seaxpay-coin-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.seaxpay-coin-label {
    flex: 1;
    cursor: pointer;
}

.seaxpay-coin-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.seaxpay-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: normal;
    margin-left: 8px;
}

.seaxpay-badge.recommended {
    background-color: #4CAF50;
    color: #fff;
}

.seaxpay-coin-details {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.seaxpay-fee,
.seaxpay-speed {
    display: inline-block;
}

.seaxpay-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.seaxpay-button {
    padding: 12px 30px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.seaxpay-button.primary {
    background-color: #4CAF50;
    color: #fff;
}

.seaxpay-button.primary:hover:not(:disabled) {
    background-color: #45a049;
}

.seaxpay-button.primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.seaxpay-button.secondary {
    background-color: #f0f0f0;
    color: #333;
}

.seaxpay-button.secondary:hover {
    background-color: #e0e0e0;
}

.seaxpay-payment-info {
    margin-top: 20px;
}

.seaxpay-selected-coin {
    background-color: #f0f8f0;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 16px;
}

.seaxpay-qrcode-section {
    text-align: center;
    margin-bottom: 30px;
}

.seaxpay-qrcode-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.seaxpay-qrcode {
    display: inline-block;
    padding: 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

.seaxpay-qrcode img {
    display: block;
}

.seaxpay-payment-details {
    margin-bottom: 30px;
}

.seaxpay-payment-details h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.seaxpay-detail-item {
    margin-bottom: 20px;
}

.seaxpay-detail-item label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.seaxpay-copy-field {
    display: flex;
    gap: 10px;
}

.seaxpay-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: monospace;
}

.seaxpay-copy-btn {
    padding: 12px 20px;
    background-color: #2196F3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.seaxpay-copy-btn:hover {
    background-color: #0b7dda;
}

.seaxpay-rate {
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
    font-family: monospace;
}

.seaxpay-timer-section {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
}

.seaxpay-timer {
    text-align: center;
    margin-bottom: 15px;
}

.seaxpay-timer-label {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.seaxpay-countdown {
    font-size: 32px;
    font-weight: bold;
    color: #ff9800;
    font-family: monospace;
}

.seaxpay-status {
    text-align: center;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 6px;
}

.seaxpay-status.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.seaxpay-status-icon {
    font-size: 24px;
    margin-right: 10px;
}

.seaxpay-status-text {
    font-size: 16px;
    color: #333;
}

.seaxpay-warnings {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
}

.seaxpay-warnings h4 {
    margin: 0 0 10px 0;
    color: #856404;
}

.seaxpay-warnings ul {
    margin: 0;
    padding-left: 20px;
    color: #856404;
}

.seaxpay-warnings li {
    margin-bottom: 5px;
}

.seaxpay-success-animation {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: #fff;
    margin-bottom: 30px;
    animation: slideDown 0.5s ease;
}

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

.seaxpay-success-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    background-color: #fff;
    color: #4CAF50;
    border-radius: 50%;
    font-size: 48px;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.seaxpay-success-animation h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.seaxpay-success-animation p {
    margin: 0;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .seaxpay-payment-wrapper {
        padding: 20px;
    }
    
    .seaxpay-header h1 {
        font-size: 24px;
    }
    
    .seaxpay-copy-field {
        flex-direction: column;
    }
    
    .seaxpay-copy-btn {
        width: 100%;
    }
    
    .seaxpay-actions {
        flex-direction: column;
    }
    
    .seaxpay-button {
        width: 100%;
    }
}
