:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #28a745;
    --bg-color: #f8f9fa;
    --surface-color: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #dee2e6;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 600px;
    /* Constrain width for better reading experience on desktop */
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.main-header {
    background-color: var(--surface-color);
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border-top: 4px solid var(--primary-color);
}

.main-header h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Form Styles */
.application-form {
    background-color: var(--surface-color);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.required {
    color: #dc3545;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s ease;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* File Upload Custom Styling */
.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-upload-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

.file-custom {
    display: block;
    border: 1px dashed var(--border-color);
    padding: 0.8rem;
    border-radius: var(--radius);
    text-align: center;
    color: var(--text-secondary);
    background-color: #fafafa;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.file-upload-wrapper:hover .file-custom {
    background-color: #f0f0f0;
}

/* Payment Section */
.payment-section {
    background-color: #e8f4fc;
    /* Light blue accent */
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid #d0e8fc;
    margin-bottom: 2rem;
}

.payment-header h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}



.qr-container {
    background: white;
    width: 180px;
    height: 180px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.qr-placeholder {
    color: #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.payment-instruction {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.payment-upload label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Submit Section */
.form-actions {
    text-align: center;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.verification-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Responsive adjustments */
@media (min-width: 600px) {
    .container {
        padding: 0;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .application-form {
        padding: 2.5rem;
    }


}


/* Logo Styles */
.logo-container {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.brand-logo {
    height: 50px;
    width: auto;
}

/* Success Message Styles */
.success-message {
    background-color: var(--surface-color);
    padding: 3rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.success-icon {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.success-icon svg {
    width: 64px;
    height: 64px;
}

.success-message h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-message p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}