   :root {
            --primary-color: #ff6b35;
            --primary-gradient: linear-gradient(135deg, #ff6b35, #f9a03f);
            --text-color: #333333;
            --text-light: #666666;
            --bg-color: #f8f9fa;
            --input-bg: #ffffff;
            --input-border: #e0e0e0;
            --input-focus: #ff6b35;
            --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            padding: 20px;
        }

        .registration-container {
            background-color: #fff;
            padding: 40px;
            border-radius: 16px;
            box-shadow: var(--shadow);
            width: 95%;
            max-width: 900px;
            position: relative;
        }

        h2 {
            font-family: 'Montserrat', sans-serif;
            text-align: center;
            margin-bottom: 30px;
            color: var(--text-color);
            font-size: 32px;
            font-weight: 700;
            position: relative;
            padding-bottom: 15px;
            letter-spacing: -0.5px;
        }

        h2:after {
            content: '';
            position: absolute;
            width: 60px;
            height: 3px;
            background: var(--primary-gradient);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        h2 i {
            margin-left: 8px;
            color: var(--primary-color);
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 25px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            color: var(--text-light);
            font-weight: 500;
            font-size: 14px;
        }

        input, select, textarea {
            width: 100%;
            padding: 14px;
            border: 1px solid var(--input-border);
            border-radius: 8px;
            background-color: var(--input-bg);
            transition: var(--transition);
            font-family: 'Montserrat', sans-serif;
            font-size: 14px;
            font-weight: 400;
            color: var(--text-color);
            box-shadow: 0 2px 5px rgba(0,0,0,0.02);
        }

        input:focus, select:focus, textarea:focus {
            border-color: var(--input-focus);
            outline: none;
            box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
        }

        .profile-section, .id-section {
            margin-top: 25px;
            display: flex;
            align-items: center;
            gap: 30px;
            flex-wrap: wrap;
        }

        .profile-pic img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 3px solid #fff;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            object-fit: cover;
        }

        input[type="file"] {
            padding: 12px;
            background: #f8f8f8;
            border-radius: 8px;
            border: 1px dashed var(--input-border);
            cursor: pointer;
        }

        input[type="file"]:hover {
            background: #f0f0f0;
        }

        button {
            margin-top: 40px;
            font-size: 16px;
            width: 100%;
            padding: 16px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            background-image: var(--primary-gradient);
            color: white;
            font-weight: 600;
            letter-spacing: 0.5px;
            transition: var(--transition);
            box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
            font-family: 'Montserrat', sans-serif;
            text-transform: uppercase;
        }

        button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
        }

        button:active {
            transform: translateY(1px);
        }

        .success-message {
            color: #2e7d32;
            font-weight: 500;
            text-align: center;
            padding: 15px;
            margin-bottom: 20px;
            background-color: rgba(46, 125, 50, 0.1);
            border-radius: 8px;
            border-left: 4px solid #2e7d32;
        }

        .error-message {
            color: #d32f2f;
            font-weight: 500;
            text-align: center;
            padding: 15px;
            margin-bottom: 20px;
            background-color: rgba(211, 47, 47, 0.1);
            border-radius: 8px;
            border-left: 4px solid #d32f2f;
        }

        @media (max-width: 600px) {
            .form-grid {
                display: flex;
                flex-direction: column;
                gap: 20px;
            }
            
            .profile-section, .id-section {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .registration-container {
                padding: 25px;
            }
        }

        .name-container {
            display: flex;
            gap: 5px;
        }

        select[name="salutation"] {
            width: 80px !important;
            flex-shrink: 0;
        }

        select {
            appearance: none;
            background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 14px center;
            background-size: 16px;
            padding-right: 40px;
        }

        input[readonly] {
            background-color: #f5f5f5;
            color: var(--primary-color);
            font-weight: 600;
        }

        .file-upload-container {
            width: 100%;
        }

        .file-upload-label {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .file-upload-label i {
            color: var(--primary-color);
        }

        /* Montserrat-specific adjustments */
        input::placeholder {
            font-weight: 300;
            opacity: 0.7;
        }
      
     /* Fee Structure Styles */
.fee-structure {
    background: linear-gradient(135deg, #fff, #f5f5f5);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    grid-column: 1 / -1;
}

.fee-structure h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 24px;
    position: relative;
    padding-bottom: 12px;
}

.fee-structure h3:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.fee-selector {
    max-width: 500px;
    margin: 0 auto 20px auto;
}

.fee-dropdown {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background-color: var(--input-bg);
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

.fee-dropdown:focus {
    border-color: var(--input-focus);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.fee-display {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.fee-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.1);
    width: 100%;
    max-width: 300px;
    animation: fadeIn 0.5s ease-out;
}

.fee-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 18px;
}

.fee-amount {
    font-weight: 700;
    font-size: 28px;
    color: var(--primary-color);
}

.fee-card.highlight {
    background: var(--primary-gradient);
    color: white;
}

.fee-card.highlight .fee-title,
.fee-card.highlight .fee-amount {
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
      
      
      
      /* QR Code Payment Section Styles */
.payment-qr-section {
    margin: 40px 0;
    padding: 10px;
}

.qr-container {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 
                0 5px 15px rgba(255, 107, 53, 0.08);
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.qr-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--primary-gradient);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.qr-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.qr-header i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.qr-header h3 {
    color: var(--text-color);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.qr-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.qr-image-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* QR code scanning animation */
.scan-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    animation: scanMove 2s ease-in-out infinite;
    opacity: 0.7;
    border-radius: 2px;
}

@keyframes scanMove {
    0% {
        top: 0;
    }
    50% {
        top: calc(100% - 4px);
    }
    100% {
        top: 0;
    }
}

.qr-instructions {
    flex: 1;
    min-width: 250px;
}

.instruction-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.payment-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-steps li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    padding-left: 5px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
    flex-shrink: 0;
}

.qr-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.payment-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.1);
    padding: 8px 15px;
    border-radius: 30px;
}

.detail-label {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-color);
}

.detail-value {
    font-weight: 500;
    font-size: 13px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .qr-card {
        flex-direction: column;
    }
    
    .qr-image-container {
        width: 180px;
        height: 180px;
    }
    
    .qr-instructions {
        width: 100%;
    }
    
    .payment-detail {
        width: 100%;
        justify-content: center;
    }
}
      
      
      
      /* Payment Button Styles */
.payment-button-container {
    text-align: center;
    margin: 30px 0;
    grid-column: 1 / -1;
}

.payment-button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.payment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.payment-button i {
    font-size: 18px;
}


/* Modal Styles */
.payment-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
}

.payment-modal.show {
    opacity: 1;
}
      
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalFadeIn 0.4s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.close-modal:hover {
    color: var(--primary-color);
    background: #f5f5f5;
}

/* Keep the existing QR container styles, but remove margin */
.qr-container {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
}

/* File upload sections */
.profile-section, .id-section {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.password-note {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-section, .id-section {
        grid-template-columns: 1fr;
    }
}

.payment-info-message {
    background: linear-gradient(135deg, #e8f5e8, #f0f8ff);
    border: 1px solid #4caf50;
    border-radius: 8px;
    padding: 12px;
    margin-top: 8px;
    font-size: 14px;
    color: #2e7d32;
    display: none;
    align-items: center;
    gap: 8px;
}

.payment-info-message i {
    color: #4caf50;
    font-size: 16px;
}

.payment-info-message.show {
    display: flex;
}

.toggle-password {display: none;}

/* Terms Container */
.terms-container {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(249, 160, 63, 0.05));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.checkbox-label a:hover {
    border-bottom-color: var(--primary-color);
}

/* Login Link */
.login-link {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    margin-top: 10px;
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
    border: 1px solid #e0e0e0;
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    margin-left: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.login-link a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.login-link a:hover::after {
    width: 100%;
}

.login-link a:hover {
    color: #ff6b35;
}
