* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-image: url('https://res.cloudinary.com/dct5zpv9q/image/upload/v1777528493/umarul-farooq_rhdjib.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 
                0 2px 8px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.container:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 
                0 4px 12px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Form Pages */
.form-page {
    display: none;
    padding: 40px;
    animation: fadeIn 0.3s ease-in;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    margin: 8px;
}

.form-page.active {
    display: block;
}

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

/* Header */
.form-header {
    text-align: center;
    margin-bottom: 32px;
    padding: 24px;
    padding-bottom: 24px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-container {
    margin-bottom: 16px;
}

.logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.form-header h1 {
    color: #000000;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.form-header h2 {
    color: #007AFF;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* Form Grid */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

/* Education Inline Grid - Smaller fields */
.education-inline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.education-inline-grid .form-group {
    padding: 10px;
}

.education-inline-grid .form-group input {
    padding: 10px 14px;
    font-size: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.form-group:hover {
    background: rgba(255, 255, 255, 0.2);
}

.form-group label {
    font-weight: 600;
    color: #000000;
    margin-bottom: 6px;
    font-size: 15px;
    letter-spacing: -0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid rgba(198, 198, 200, 0.4);
    border-radius: 10px;
    font-size: 17px;
    font-family: inherit;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    -webkit-appearance: none;
}

/* Date Input Styling */
.form-group input[type="date"] {
    position: relative;
    cursor: pointer;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

.form-group input[type="date"]::-webkit-inner-spin-button,
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    -webkit-appearance: none;
}

.form-group input[type="date"]::after {
    content: '📅';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 18px;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007AFF;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #FF3B30;
    background-color: #FFF2F2;
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.15);
}

.required {
    color: #FF3B30;
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.form-navigation button {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    letter-spacing: -0.2px;
}

.btn-next {
    background: #007AFF;
    color: #FFFFFF;
    margin-left: auto;
}

.btn-next:hover {
    background: #0051D5;
    transform: scale(1.02);
}

.btn-next:active {
    transform: scale(0.98);
    opacity: 0.8;
}

.btn-prev {
    background: #F2F2F7;
    color: #007AFF;
}

.btn-prev:hover {
    background: #E5E5EA;
}

.btn-prev:active {
    transform: scale(0.98);
    opacity: 0.7;
}

.btn-submit {
    background: #34C759;
    color: #FFFFFF;
    margin-left: auto;
}

.btn-submit:hover {
    background: #28A745;
    transform: scale(1.02);
}

.btn-submit:active {
    transform: scale(0.98);
    opacity: 0.8;
}

.btn-submit:disabled {
    background: #C6C6C8;
    color: #8E8E93;
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

/* Agreement Section */
.agreement-container {
    margin-bottom: 24px;
    padding: 8px;
}

.agreement-text {
    background: rgba(242, 242, 247, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #007AFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.agreement-text h3 {
    color: #000000;
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.agreement-text p {
    color: #3A3A3C;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.2px;
}

.agreement-text ul {
    margin-left: 20px;
    color: #3A3A3C;
}

.agreement-text li {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 16px;
}

.signature-section {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 0.5px solid #C6C6C8;
}

.signature-section p {
    margin-bottom: 24px;
    color: #3A3A3C;
    font-size: 15px;
    font-weight: 500;
}

.signature-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 20px;
}

.signature-row p {
    flex: 1;
    margin-bottom: 0;
}

.note-text {
    font-size: 14px;
    font-weight: 600;
    color: #FF3B30;
    text-align: center;
    padding: 12px;
    background: #FFF2F2;
    border-radius: 8px;
    margin-top: 16px;
}

.agreement-checkbox {
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #C6C6C8;
    border-radius: 10px;
}

.agreement-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: #000000;
    letter-spacing: -0.2px;
}

.agreement-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #007AFF;
}

/* Agreement Statement on Page 2 */
.agreement-statement-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 0.5px solid #C6C6C8;
}

.agreement-statement-text {
    background: #F2F2F7;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #007AFF;
}

.agreement-statement-text h3 {
    color: #000000;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.agreement-statement-text p {
    color: #3A3A3C;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.2px;
}

/* Confirmation Page */
.confirmation-container {
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #34C759 0%, #30B350 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 24px rgba(52, 199, 89, 0.3);
}

.success-icon-svg {
    color: #FFFFFF;
    stroke-width: 2.5;
}

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

.confirmation-container h1 {
    color: #1C1C1E;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.confirmation-message {
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.confirmation-details {
    color: #8E8E93;
    font-size: 16px;
    margin-bottom: 36px;
    letter-spacing: -0.1px;
    line-height: 1.5;
}

/* Confirmation Photo Display */
.confirmation-photo-container {
    margin: 32px auto;
    padding: 24px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 300px;
    animation: fadeIn 0.5s ease-out;
}

.confirmation-photo-title {
    color: #000000;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.confirmation-photo-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.confirmation-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.student-name-display {
    color: #007AFF;
    font-size: 18px;
    font-weight: 600;
    margin-top: 12px;
    letter-spacing: -0.2px;
}

.confirmation-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-submit-another {
    padding: 16px 32px;
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.25);
    letter-spacing: -0.2px;
    font-family: inherit;
}

.btn-submit-another:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.35);
    background: linear-gradient(135deg, #0051D5 0%, #003BA3 100%);
}

.btn-submit-another:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2);
}

.btn-submit-another svg {
    transition: transform 0.3s ease;
}

.btn-submit-another:hover svg {
    transform: rotate(90deg);
}

.btn-download-pdf {
    padding: 16px 32px;
    background: linear-gradient(135deg, #34C759 0%, #00A86B 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.25);
    letter-spacing: -0.2px;
    font-family: inherit;
}

.btn-download-pdf:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 199, 89, 0.35);
    background: linear-gradient(135deg, #00A86B 0%, #00834D 100%);
}

.btn-download-pdf:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(52, 199, 89, 0.2);
}

.btn-download-pdf svg {
    transition: transform 0.3s ease;
}

.btn-download-pdf:hover svg {
    transform: translateY(2px);
}

.btn-primary {
    padding: 12px 30px;
    background: #007AFF;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    letter-spacing: -0.2px;
}

.btn-primary:hover {
    background: #0051D5;
    transform: scale(1.02);
}

.btn-primary:active {
    transform: scale(0.98);
    opacity: 0.8;
}

/* Photo Upload Styles */
.full-width {
    grid-column: 1 / -1;
}

.photo-upload-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 16px;
    background: rgba(248, 249, 250, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 2px dashed rgba(198, 198, 200, 0.3);
    transition: all 0.3s ease;
}

.photo-upload-container:hover {
    border-color: rgba(0, 122, 255, 0.4);
    background: rgba(245, 247, 255, 0.35);
}

.photo-upload-container.has-photo {
    border-style: solid;
    border-color: rgba(52, 199, 89, 0.4);
    background: rgba(240, 255, 244, 0.3);
}

.photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder-icon {
    color: #8E8E93;
    margin-bottom: 8px;
}

.photo-placeholder-text {
    font-size: 12px;
    color: #8E8E93;
    font-weight: 500;
}

.photo-upload-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-upload-photo {
    padding: 12px 20px;
    background: #007AFF;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.btn-upload-photo:hover {
    background: #0051D5;
    transform: translateY(-1px);
}

.btn-upload-photo:active {
    transform: translateY(0);
}

.upload-progress {
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #E5E5EA;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007AFF 0%, #34C759 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    font-size: 13px;
    color: #8E8E93;
    font-weight: 500;
    text-align: center;
}

.photo-requirements {
    font-size: 13px;
    color: #8E8E93;
    font-weight: 400;
    letter-spacing: -0.1px;
}

/* Responsive Photo Upload */
@media (max-width: 768px) {
    .photo-upload-container {
        flex-direction: column;
        align-items: center;
    }
    
    .photo-upload-controls {
        width: 100%;
    }
    
    .btn-upload-photo {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 0;
        background-color: #FFFFFF;
    }

    .container {
        border-radius: 0;
        box-shadow: none;
    }

    .form-page {
        padding: 20px 16px;
    }

    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .education-inline-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-header h1 {
        font-size: 24px;
    }

    .form-header h2 {
        font-size: 18px;
    }

    .form-navigation {
        flex-direction: column;
    }

    .form-navigation button {
        width: 100%;
    }

    .btn-next,
    .btn-submit {
        margin-left: 0;
    }

    .form-navigation {
        gap: 10px;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .btn-primary {
        margin-left: 0;
    }
    
    .confirmation-photo-container {
        max-width: 100%;
        padding: 16px;
    }
    
    .confirmation-photo-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .confirmation-photo-title {
        font-size: 16px;
    }
    
    .student-name-display {
        font-size: 16px;
    }
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid #E5E5EA;
    border-top: 3px solid #007AFF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Preview Modal Styles */
.preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.preview-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-modal-content {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    color: #FFFFFF;
    border-radius: 20px 20px 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.preview-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.btn-close-preview {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #FFFFFF;
    font-size: 32px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.btn-close-preview:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.preview-body {
    padding: 20px;
    background: #e0e0e0;
}

/* PDF Preview Container */
.preview-pdf-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
}

.preview-pdf-page {
    width: 210mm;
    max-width: 100%;
    background: white;
    padding: 10mm 16mm;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.preview-section {
    margin-bottom: 40px;
}

.preview-section:last-child {
    margin-bottom: 0;
}

.preview-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1C1C1E;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #007AFF;
    letter-spacing: -0.3px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.preview-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: #F5F5F7;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.preview-item:hover {
    background: #F0F0F2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.preview-item.full-width {
    grid-column: 1 / -1;
}

.preview-label {
    font-size: 13px;
    font-weight: 600;
    color: #8E8E93;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.preview-value {
    font-size: 16px;
    font-weight: 500;
    color: #1C1C1E;
    word-break: break-word;
}

.preview-photo {
    margin-top: 10px;
    display: none;
}

.preview-photo img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.preview-footer {
    display: flex;
    gap: 15px;
    padding: 30px 40px;
    background: #F5F5F7;
    border-radius: 0 0 20px 20px;
    position: sticky;
    bottom: 0;
}

.btn-edit,
.btn-submit-final {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    letter-spacing: -0.2px;
}

.btn-edit {
    background: #F2F2F7;
    color: #007AFF;
}

.btn-edit:hover {
    background: #E5E5EA;
    transform: scale(1.02);
}

.btn-edit:active {
    transform: scale(0.98);
}

.btn-submit-final {
    background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
}

.btn-submit-final:hover {
    background: linear-gradient(135deg, #28A745 0%, #34C759 100%);
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(52, 199, 89, 0.4);
}

.btn-submit-final:active {
    transform: scale(0.98);
}

.btn-edit svg,
.btn-submit-final svg {
    transition: transform 0.2s ease;
}

.btn-edit:hover svg {
    transform: rotate(-10deg);
}

.btn-submit-final:hover svg {
    transform: scale(1.1);
}

/* Preview Button Styles */
.btn-preview {
    background: #5856D6;
    color: #FFFFFF;
}

.btn-preview:hover {
    background: #4A4AB8;
    transform: scale(1.02);
}

.btn-preview:active {
    transform: scale(0.98);
    opacity: 0.8;
}

/* Responsive Design for Preview Modal */
@media (max-width: 768px) {
    .preview-modal-content {
        margin: 10px;
        max-height: 95vh;
    }

    .preview-header {
        padding: 20px;
    }

    .preview-header h2 {
        font-size: 22px;
    }

    .preview-body {
        padding: 20px;
    }

    .preview-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .preview-section-title {
        font-size: 18px;
    }

    .preview-footer {
        padding: 20px;
        flex-direction: column;
    }

    .btn-edit,
    .btn-submit-final {
        width: 100%;
    }

    .preview-photo img {
        max-width: 100%;
    }
}

/* ==========================================
   PDF STYLING - ADMISSION FORM
========================================== */

#pdfTemplate {
    display: none;
}

/* PDF Header */
.pdf-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
}

.pdf-logo-section {
    margin-bottom: 10px;
}

.pdf-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.pdf-header-text h1 {
    font-size: 18px;
    font-weight: bold;
    margin: 8px 0;
    letter-spacing: 0.5px;
}

.pdf-location {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin: 4px 0;
}

.pdf-badge {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: bold;
    margin-top: 8px;
    border-radius: 3px;
}

/* PDF Photo Section */
.pdf-photo-section {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
}

.pdf-photo {
    width: 80px;
    height: 100px;
    border: 1px solid #000;
    object-fit: cover;
    display: block;
}

/* PDF Sections */
.pdf-section {
    clear: both;
    margin-bottom: 18px;
    page-break-inside: avoid;
}

.pdf-section-title {
    font-size: 13px;
    font-weight: bold;
    background: #f9f9f9;
    padding: 8px 10px;
    border: 1px solid #000;
    margin-bottom: 8px;
}

/* PDF Table */
.pdf-table {
    width: 100%;
    border-collapse: collapse;
}

.pdf-row {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #000;
}

.pdf-cell {
    flex: 1;
    min-width: 45%;
    padding: 10px;
    border-right: 1px solid #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pdf-row .pdf-cell:last-child {
    border-right: none;
}

.pdf-label {
    font-size: 11px;
    font-weight: 600;
    color: #000;
    background: #f9f9f9;
    padding: 4px;
    margin-bottom: 3px;
}

.pdf-value {
    font-size: 12px;
    color: #000;
    word-wrap: break-word;
}

/* PDF Declarations on Page 2 */
.pdf-declarations {
    margin-top: 0;
}

.pdf-declaration-section {
    page-break-inside: avoid;
    margin-bottom: 25px;
}

.pdf-declaration-title {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 12px;
    color: #000;
    border-bottom: 1px solid #000;
    padding-bottom: 6px;
}

.pdf-declaration-content-malayalam {
    font-size: 12px;
    line-height: 1.6;
    text-align: justify;
    color: #000;
    font-family: 'Meera Aniruddha', 'Malayalam Sans', Arial, sans-serif;
}

.pdf-declaration-content-malayalam p {
    margin-bottom: 12px;
}

.pdf-blank-line {
    border-bottom: 1px solid #000;
    display: inline-block;
    min-width: 150px;
}

.pdf-attestation-details {
    font-size: 12px;
}

/* Print Media Styles */
@media print {
    * {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    body {
        background: white !important;
        font-size: 12px;
    }

    .pdf-page {
        background: white;
        margin: 0;
        padding: 15mm 10mm;
        border: none;
    }

    .pdf-header {
        page-break-inside: avoid;
    }

    .pdf-section {
        page-break-inside: avoid;
    }

    .pdf-declaration-section {
        page-break-inside: avoid;
    }
}

/* ==========================================
   UPI PAYMENT MODAL STYLES
   ========================================== */

.upi-payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.upi-payment-modal.active {
    display: flex;
}

.upi-payment-content {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upi-payment-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 24px;
    text-align: center;
    position: relative;
}

.upi-payment-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.upi-payment-header p {
    margin: 8px 0 0 0;
    opacity: 0.9;
    font-size: 14px;
}

.btn-close-upi {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-close-upi:hover {
    background: rgba(255, 255, 255, 0.3);
}

.upi-payment-body {
    padding: 24px;
}

.upi-amount-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 24px;
}

.upi-amount-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.upi-amount-value {
    font-size: 36px;
    font-weight: 700;
    color: #333;
}

.upi-instructions {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.upi-instructions h4 {
    margin: 0 0 8px 0;
    color: #856404;
    font-size: 16px;
}

.upi-instructions ul {
    margin: 0;
    padding-left: 20px;
    color: #856404;
    font-size: 14px;
}

.upi-instructions li {
    margin-bottom: 4px;
}

.upi-form-group {
    margin-bottom: 20px;
}

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

.upi-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.upi-form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.upi-qr-section {
    text-align: center;
    margin: 24px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.upi-qr-code {
    width: 200px;
    height: 200px;
    margin: 16px auto;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.upi-qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.upi-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.upi-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.upi-divider span {
    background: #fff;
    padding: 0 16px;
    color: #666;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.upi-payment-footer {
    padding: 20px 24px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 12px;
}

.btn-verify-payment {
    flex: 1;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-verify-payment:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-verify-payment:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cancel-payment {
    padding: 14px 24px;
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cancel-payment:hover {
    background: #e9ecef;
}

/* Payment Status Messages */
.payment-status {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.payment-status.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    display: block;
}

.payment-status.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    display: block;
}

.payment-status.loading {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    display: block;
}

/* Transaction Details */
.transaction-details {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.transaction-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.transaction-label {
    font-weight: 600;
    color: #666;
}

.transaction-value {
    color: #333;
}

/* Payment Info Note */
.payment-info-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 14px;
    color: #1565c0;
    line-height: 1.5;
}

.payment-info-note svg {
    flex-shrink: 0;
    color: #2196f3;
}

/* Enhanced Payment Status */
.payment-status {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

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

.payment-status.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    color: #155724;
}

.payment-status.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
    color: #721c24;
}

.payment-status.loading {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: 2px solid #17a2b8;
    color: #0c5460;
}

/* Authentication Styles */
.full-width {
    grid-column: 1 / -1;
}

/* Checkbox Styling */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    user-select: none;
    margin-top: 8px;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(198, 198, 200, 0.4);
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.2s ease;
    background-color: rgba(255, 255, 255, 0.7);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 20px;
}

.form-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    font-size: 14px;
}

.form-links a {
    color: #2196F3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.form-links a:hover {
    color: #1976D2;
    text-decoration: underline;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.btn-primary:disabled {
    background: linear-gradient(135deg, #ccc 0%, #999 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: 2px solid rgba(198, 198, 200, 0.4);
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: #2196F3;
    color: #2196F3;
    transform: translateY(-2px);
}

/* Button Loader */
.btn-loader {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Messages */
.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
    display: none;
    font-weight: 500;
}

/* Alert Messages */
.alert-message {
    padding: 14px 18px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease-out;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    color: #155724;
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
    color: #721c24;
}

.alert-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    padding: 0;
    margin-left: 10px;
}

.alert-close:hover {
    opacity: 0.7;
}

/* Authentication Form Specific */
.form-page.active {
    display: block;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo-container {
    margin-bottom: 16px;
}

.logo {
    max-width: 80px;
    height: auto;
}

.form-header h1 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.form-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2196F3;
    margin-top: 12px;
    letter-spacing: -0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .upi-payment-content {
        width: 95%;
        margin: 20px;
    }

    .upi-payment-footer {
        flex-direction: column;
    }

    .btn-verify-payment,
    .btn-cancel-payment {
        width: 100%;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-links {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #007AFF;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.top-bar span {
    margin: 0 10px;
}

/* Verification Status Styles */
.verification-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 15px;
    font-size: 0.85rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.status-indicator.verified {
    color: #27ae60;
}

.status-indicator svg {
    flex-shrink: 0;
}

.btn-clear-verification {
    background: none;
    border: none;
    color: #95a5a6;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-clear-verification:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.btn-clear-verification:active {
    transform: scale(0.95);
}

/* Payment and WhatsApp Button Styles */
.btn-payment {
    background: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4), 0 4px 12px rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-payment::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-payment:hover::before {
    left: 100%;
}

.btn-payment:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #065F46 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5), 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-payment:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-payment svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 50%, #0F5E5B 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(37, 211, 102, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-whatsapp:hover::before {
    left: 100%;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #0F5E5B 50%, #0A4F4C 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5), 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Pulse animation for buttons */
@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4), 0 4px 12px rgba(16, 185, 129, 0.2);
    }
    50% {
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6), 0 4px 12px rgba(16, 185, 129, 0.3);
    }
    100% {
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4), 0 4px 12px rgba(16, 185, 129, 0.2);
    }
}

.btn-payment {
    animation: pulse 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(37, 211, 102, 0.2);
    }
    50% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(37, 211, 102, 0.3);
    }
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(37, 211, 102, 0.2);
    }
}

.btn-whatsapp {
    animation: pulse-whatsapp 2.5s infinite;
}

/* Confirmation Actions Layout */
.confirmation-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    align-items: center;
}

.confirmation-actions .btn-download-pdf {
    order: 1;
}

.confirmation-actions .btn-payment {
    order: 2;
}

.confirmation-actions .btn-whatsapp {
    order: 3;
}

/* Responsive layout for confirmation buttons */
@media (min-width: 768px) {
    .confirmation-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .confirmation-actions .btn-download-pdf {
        order: 1;
        flex: 1;
        max-width: 200px;
    }
    
    .confirmation-actions .btn-payment {
        order: 2;
        flex: 1;
        max-width: 200px;
    }
    
    .confirmation-actions .btn-whatsapp {
        order: 3;
        flex: 1;
        max-width: 200px;
    }
}
