* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #eef2f7 0%, #d4dce6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* PayPal-inspired container */
.paypal-card {
    max-width: 580px;
    width: 100%;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.form-card {
    max-width: 700px;
}

.paypal-header {
    background: #fff;
    padding: 1.5rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e4e9f0;
}

.paypal-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.25rem;
}

.paypal-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.paypal-logo span {
    font-size: 1.6rem;
    font-weight: 600;
    color: #003087;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
}

.paypal-tag {
    color: #6c7a8e;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 4px;
}

/* PayPal Trust Banner */
.trust-banner {
    background: #f7f9fc;
    padding: 0.75rem;
    margin: 0 2rem 1rem 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.7rem;
    color: #5f6c80;
    border: 1px solid #e4e9f0;
}

.trust-banner span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.paypal-content {
    padding: 2rem;
}

/* Welcome message */
.welcome-message {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-message h2 {
    font-size: 1.6rem;
    color: #1a2a3f;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.welcome-message p {
    color: #6c7a8e;
    font-size: 0.9rem;
}

/* Big button */
.big-paypal-btn {
    background: #0070ba;
    color: white;
    border: none;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.big-paypal-btn:hover {
    background: #005ea6;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 112, 186, 0.25);
}

/* PayPal footer links */
.paypal-footer-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.7rem;
}

.paypal-footer-links a {
    color: #6c7a8e;
    text-decoration: none;
}

.paypal-footer-links a:hover {
    color: #0070ba;
    text-decoration: underline;
}

.info-note {
    margin-top: 1.5rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 0.8rem;
    text-align: center;
    font-size: 0.8rem;
    color: #5f6c80;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Form styling */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f2f6;
}

.form-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2a3f;
    margin-bottom: 1.2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
}

.form-row .form-group {
    flex: 1;
}

.half {
    flex: 1;
}

label {
    display: block;
    font-weight: 500;
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    color: #2c3e66;
}

.required {
    color: #e03a3a;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    transition: 0.2s;
    background-color: #fff;
    outline: none;
}

input:focus, textarea:focus, select:focus {
    border-color: #0070ba;
    box-shadow: 0 0 0 3px rgba(0, 112, 186, 0.1);
}

.input-hint {
    font-size: 0.7rem;
    color: #8a99b0;
    margin-top: 0.25rem;
    display: block;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c7a8e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

/* Password strength meter */
.password-strength {
    margin-top: 0.5rem;
    height: 4px;
    background: #e4e9f0;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.password-strength-bar.weak {
    width: 33%;
    background: #e03a3a;
}

.password-strength-bar.medium {
    width: 66%;
    background: #ff8c42;
}

.password-strength-bar.strong {
    width: 100%;
    background: #2ba640;
}

.strength-text {
    font-size: 0.65rem;
    margin-top: 0.25rem;
    color: #8a99b0;
}

/* Card icons */
.card-icons {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #6c7a8e;
}

.card-icons span {
    background: #f8fafc;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    border: 1px solid #e4e9f0;
}

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.5rem 0 1rem;
}

.terms-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.terms-checkbox label {
    font-size: 0.8rem;
    color: #5f6c80;
    margin-bottom: 0;
    cursor: pointer;
}

.terms-checkbox a {
    color: #0070ba;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: #0070ba;
    color: white;
    width: 100%;
    padding: 0.9rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: #005ea6;
    transform: translateY(-1px);
}

.submit-btn:disabled {
    background: #a8c6e0;
    cursor: not-allowed;
    transform: none;
}

.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    text-align: center;
    width: 100%;
    color: #0070ba;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
}

.back-link:hover {
    text-decoration: underline;
}

.alert {
    padding: 0.8rem;
    border-radius: 0.5rem;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    background: #fef3e9;
    color: #c24e00;
    border-left: 3px solid #ff8c42;
}

.success {
    background: #e6f7ec;
    color: #1e7b48;
    border-left-color: #2ba640;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip .tooltip-text {
    visibility: hidden;
    background-color: #1a2a3f;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 640px) {
    body {
        padding: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .paypal-content {
        padding: 1.5rem;
    }
    
    .form-card {
        max-width: 100%;
    }
    
    .paypal-logo img {
        height: 26px;
    }
    
    .paypal-logo span {
        font-size: 1.3rem;
    }
    
    .trust-banner {
        flex-wrap: wrap;
        margin: 0 1rem 1rem 1rem;
    }
    
    .paypal-footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
}