/* Success Popup Styles */
.success-popup {
    max-width: 500px;
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-popup h2 {
    color: #10b981;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.success-message {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.request-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 2px solid #e5e7eb;
}

.request-info h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.request-code {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.code-description {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.next-steps {
    text-align: left;
    margin-bottom: 2rem;
}

.next-steps h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.next-steps ol {
    color: #6b7280;
    padding-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

/* Payment Modal Styles */
.payment-modal {
    max-width: 600px;
    width: 95%;
}

.payment-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.tab-btn:hover {
    color: #2563eb;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.payment-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 2px solid #e5e7eb;
}

.payment-info h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.inscription-details {
    color: #6b7280;
}

.inscription-details p {
    margin: 0.5rem 0;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input[type="file"] {
    padding: 0.8rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="file"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input[type="text"] {
    padding: 0.8rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.file-info, .input-info {
    color: #6b7280;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.submit-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Activities Payment Section */
.activities-payment-section {
    margin-top: 25px;
}

.activities-payment-section h3 {
    margin: 0 0 20px 0;
    color: #374151;
    font-size: 1.2rem;
    font-weight: 600;
}

.activities-payment-list {
    display: grid;
    gap: 15px;
}

.activity-payment-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.activity-payment-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.activity-payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.activity-payment-header h4 {
    margin: 0;
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
}

.activity-price {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.activity-payment-status {
    margin-bottom: 15px;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-uploaded {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-verified {
    background: #d1fae5;
    color: #059669;
}

.status-rejected {
    background: #fee2e2;
    color: #dc2626;
}

.activity-payment-form {
    margin-top: 15px;
}

.activity-payment-form .form-group {
    margin-bottom: 15px;
}

.activity-payment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.activity-payment-form input[type="file"] {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.activity-payment-form input[type="file"]:focus {
    outline: none;
    border-color: #3b82f6;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.payment-proof-info {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.payment-proof-info p {
    margin: 5px 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.payment-proof-info strong {
    color: #374151;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .success-popup {
        max-width: 95%;
        padding: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .payment-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        border-bottom: none;
        border-right: 3px solid transparent;
    }
    
    .tab-btn.active {
        border-right-color: #2563eb;
        border-bottom-color: transparent;
    }
    
    .activity-payment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .activity-price {
        align-self: flex-end;
    }
}
