/* SNDCLAIM Frontend Styles */

.sndclaim-claim-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.sndclaim-welcome-section h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

.wallet-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: inline-block;
    min-width: 250px;
}

.wallet-info .balance {
    color: #4CAF50;
    font-size: 24px;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}

.sndclaim-claim-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 18px;
    transition: all 0.3s;
    box-sizing: border-box;
}

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

.form-text {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

.button-success {
    width: 100%;
    padding: 18px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
}

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

.button-success:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.button-small {
    margin-top: 5px;
    padding: 5px 10px;
    font-size: 12px;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
    vertical-align: middle;
}

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

.success-result {
    background: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    animation: fadeIn 0.5s;
}

.error-result {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
    color: #721c24;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    animation: fadeIn 0.5s;
}

.momo-details {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #4CAF50;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #666;
    font-weight: 500;
}

.detail-value {
    color: #333;
    font-weight: 600;
}

.amount-value {
    color: #4CAF50;
    font-size: 24px;
    font-weight: bold;
}

.balance-update {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.new-balance {
    color: #4CAF50;
    font-size: 28px;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}

.sndclaim-instructions {
    background: #f0f7ff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
}

.sndclaim-instructions h3 {
    margin-top: 0;
    color: #2196F3;
}

.sndclaim-instructions ol {
    margin-left: 20px;
}

.sndclaim-instructions li {
    margin-bottom: 10px;
    color: #555;
}

.sndclaim-instructions .notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 14px;
}

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

/* Login required message */
.sndclaim-login-required {
    text-align: center;
    padding: 40px;
}

.sndclaim-login-required h3 {
    color: #333;
    margin-bottom: 15px;
}

.sndclaim-login-required p {
    color: #666;
    margin-bottom: 20px;
}

/* Payment instructions styles */
.sndclaim-payment-instructions {
    max-width: 600px;
    margin: 20px auto;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #4CAF50;
}

.payment-title {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    text-align: center;
}

.payment-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.network-mtn { color: #FFCC00; }
.network-telecel { color: #FF0000; }
.network-airteltigo { color: #E6007E; }

.phone-number {
    font-family: monospace;
    font-size: 18px;
    color: #2196F3;
}

.payment-steps {
    background: #f0f7ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.payment-steps h4 {
    color: #2196F3;
    margin-bottom: 15px;
}

.payment-notes {
    background: #fff8e1;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #ffc107;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .sndclaim-claim-container,
    .sndclaim-payment-instructions {
        padding: 20px;
        margin: 10px;
    }
    
    .sndclaim-claim-form {
        padding: 20px;
    }
    
    .detail-row {
        flex-direction: column;
    }
    
    .detail-label {
        margin-bottom: 5px;
    }
    
    .detail-value {
        text-align: left;
    }
}