:root {
    --primary-gradient: linear-gradient(135deg, #6BA539 0%, #124892 100%);
    --secondary-gradient: linear-gradient(135deg, #124892 0%, #6BA539 100%);
    --dark-gradient: linear-gradient(135deg, #006aff0a 0%, #77ff0008 70%);
    --glass-bg: rgba(255, 255, 255, 0.98);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-primary: 0 20px 60px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 25px 50px rgba(107, 165, 57, 0.25);
    --accent-color: #6BA539;
    --primary-color: #124892;
}

* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #006aff33 0%, #77ff0046 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 20%, rgba(107, 165, 57, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(18, 72, 146, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(107, 165, 57, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: floatingBg 30s ease-in-out infinite;
}

@keyframes floatingBg {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(1deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-1deg);
    }
}

.back-button-container {
    position: relative;
    z-index: 10;
    padding: 1.5rem 1rem 0;
}

.btn-back {
    background: white;
    border: 2px solid #dc3545;
    border-radius: 50px;
    color: #dc3545;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-back::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc3545, #c82333);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
}

.btn-back:hover::before {
    width: 300px;
    height: 300px;
}

.btn-back:hover {
    color: white;
    border-color: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.btn-back span {
    position: relative;
    z-index: 1;
}

.main-container {
    max-width: 950px;
    margin: 2rem auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    box-shadow: var(--shadow-primary);
    overflow: hidden;
    animation: slideUpFade 0.8s ease-out;
    position: relative;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.header-section {
    background: var(--primary-gradient);
    color: white;
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.header-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    animation: pulse 5s ease-in-out infinite reverse;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1) translateY(0);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1) translateY(-20px);
        opacity: 0.5;
    }
}

.header-section h1 {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.header-section p {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 400;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.logo-container {
    width: 100px;
    height: 100px;
    margin-right: 20px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.form-section {
    padding: 3.5rem 3rem;
    position: relative;
}

.section-divider {
    margin: 2.5rem 0;
    position: relative;
    text-align: center;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.2;
}

.section-divider span {
    background: white;
    padding: 0.5rem 1.5rem;
    position: relative;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-floating {
    position: relative;
    margin-bottom: 0;
}

.form-floating>.form-control,
.form-floating>.form-select {
    border: 2px solid #e9ecef;
    border-radius: 16px;
    font-size: 1rem;
    padding: 1.2rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    height: calc(3.75rem + 2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.form-floating>.form-control:focus,
.form-floating>.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(107, 165, 57, 0.1), 0 4px 12px rgba(107, 165, 57, 0.15);
    transform: translateY(-2px);
    background: #fff;
    outline: none;
}

.form-floating>.form-control:hover:not(:disabled),
.form-floating>.form-select:hover:not(:disabled) {
    border-color: rgba(107, 165, 57, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-floating>label {
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
    padding: 1.2rem 1rem;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select:focus~label,
.form-floating>.form-select:not([value=""])~label {
    color: var(--accent-color);
    font-weight: 600;
    opacity: 1;
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.form-floating>.form-control:focus~.input-icon,
.form-floating>.form-select:focus~.input-icon {
    color: var(--accent-color);
}

.required-field::after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: none;
    font-weight: 500;
    padding-left: 0.5rem;
}

.error-message.show {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545 !important;
    animation: pulse-error 0.6s ease-in-out;
}

@keyframes pulse-error {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--accent-color) !important;
}

.form-check {
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 2px solid transparent;
}

.form-check:hover {
    background: rgba(107, 165, 57, 0.05);
    border-color: rgba(107, 165, 57, 0.2);
    transform: translateX(4px);
}

.form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0;
    cursor: pointer;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(107, 165, 57, 0.1);
}

.form-check-label {
    cursor: pointer;
    font-weight: 500;
    margin-left: 0.5rem;
}

.checkbox-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    margin-top: 2rem;
    border: 2px solid #e9ecef;
}

.checkbox-section .form-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit {
    background: linear-gradient(135deg, #585858 0%, #585858 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 1.25rem 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 8px 25px 585858;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
}

.btn-submit:hover::before {
    width: 400px;
    height: 400px;
}

.btn-submit:not(:disabled) {
    background: linear-gradient(135deg, #6BA539 0%, #124892 100%);
    transition: all 0.6s ease;
}

.btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #6BA539 0%, #124892 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(107, 165, 57, 0.4);
    color: white;
}

.btn-submit:active {
    transform: translateY(-2px) scale(1);
}

.btn-submit svg {
    position: relative;
    z-index: 1;
}

.btn-submit span:not(.loading-spinner) {
    position: relative;
    z-index: 1;
}

.progress-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e9ecef;
    z-index: 9999;
}

.progress-indicator-bar {
    height: 100%;
    background: var(--primary-gradient);
    width: 0;
    transition: width 0.3s ease;
}

.modal-content {
    border-radius: 24px;
    border: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.modal-header {
    border: none;
    padding: 2.5rem 2rem 1rem;
    position: relative;
    background: transparent;
}

.modal-body {
    padding: 0 2.5rem 2rem;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    text-align: center;
}

.modal-footer {
    border: none;
    padding: 0 2.5rem 2.5rem;
    justify-content: center;
}

.modal-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.icon-animate {
    animation: iconEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes iconEntrance {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.15) rotate(10deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.modal-success .modal-icon {
    color: #10b981;
}

.modal-success .modal-header {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    position: relative;
}

.modal-success .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669);
}

.modal-success .btn-close-modal {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.modal-success .btn-close-modal:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.modal-error .modal-icon {
    color: #ef4444;
}

.modal-error .modal-header {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    position: relative;
}

.modal-error .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.modal-error .btn-close-modal {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.modal-error .btn-close-modal:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

.modal-warning .modal-icon {
    color: #f59e0b;
}

.modal-warning .modal-header {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    position: relative;
}

.modal-warning .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.modal-warning .btn-close-modal {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.modal-warning .btn-close-modal:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

.modal-title {
    font-weight: 700;
    font-size: 1.75rem;
    color: #1f2937;
    margin: 0;
    text-align: center;
    width: 100%;
    letter-spacing: -0.02em;
}

.btn-close-modal {
    padding: 0.875rem 3rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    color: white;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn-close-modal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-close-modal:hover::before {
    width: 300px;
    height: 300px;
}

.btn-close-modal:active {
    transform: scale(0.97);
}

.btn-close {
    background: rgba(0, 0, 0, 0.05);
    opacity: 0.6;
    transition: all 0.3s ease;
    border-radius: 8px;
    width: 32px;
    height: 32px;
}

.btn-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.modal.fade .modal-dialog {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9) translateY(-30px);
    opacity: 0;
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-backdrop.show {
    opacity: 0.6;
    backdrop-filter: blur(4px);
}

@media (max-width: 576px) {
    .modal-content {
        border-radius: 20px;
        margin: 0.5rem;
    }

    .modal-icon {
        font-size: 4rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-body {
        font-size: 1rem;
        padding: 0 1.5rem 1.5rem;
    }

    .btn-close-modal {
        padding: 0.75rem 2rem;
        font-size: 0.85rem;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.modal-icon:hover {
    animation: pulse 0.5s ease-in-out;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.btn-close-modal::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.7s;
}

.btn-close-modal:hover::after {
    left: 100%;
}

@media (min-width: 320px) {
    .main-container {
        margin: 0.5rem;
        border-radius: 16px;
        max-width: 100%;
    }

    .back-button-container {
        padding: 1rem 0.5rem 0;
    }

    .btn-back {
        font-size: 0.85rem;
        padding: 0.6rem 1.25rem;
    }

    .header-section {
        padding: 1.5rem 1rem;
    }

    .header-section h1 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .header-section p {
        font-size: 0.9rem;
    }

    .logo-container {
        width: 60px;
        height: 60px;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .form-section {
        padding: 1.5rem 1rem;
    }

    .form-floating>.form-control,
    .form-floating>.form-select {
        font-size: 0.9rem;
        padding: 1rem 0.75rem;
        height: calc(3.25rem + 2px);
    }

    .form-floating>label {
        font-size: 0.9rem;
        padding: 1rem 0.75rem;
    }

    .input-icon {
        font-size: 0.9rem;
        right: 0.75rem;
    }

    .section-divider {
        margin: 1.75rem 0;
    }

    .section-divider span {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .checkbox-section {
        padding: 1.25rem;
    }

    .checkbox-section .form-label {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .form-check {
        padding: 0.75rem;
        margin: 0.4rem 0;
    }

    .form-check-input {
        width: 1.25rem;
        height: 1.25rem;
    }

    .form-check-label {
        font-size: 0.9rem;
    }

    .btn-submit {
        font-size: 0.9rem;
        padding: 1rem 1.5rem;
        letter-spacing: 1px;
    }

    .btn-submit svg {
        width: 20px;
        height: 20px;
    }

    .error-message {
        font-size: 0.8rem;
    }

    .row.g-4 {
        row-gap: 1rem !important;
    }
}

@media (min-width: 576px) {
    .main-container {
        margin: 1rem;
        border-radius: 20px;
        max-width: 95%;
    }

    .back-button-container {
        padding: 1.25rem 1rem 0;
    }

    .btn-back {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }

    .header-section {
        padding: 2rem 1.5rem;
    }

    .header-section h1 {
        font-size: 2rem;
        flex-direction: row;
        gap: 0;
    }

    .header-section p {
        font-size: 1rem;
    }

    .logo-container {
        width: 75px;
        height: 75px;
        margin-right: 15px;
        margin-bottom: 0;
    }

    .form-section {
        padding: 2rem 1.5rem;
    }

    .form-floating>.form-control,
    .form-floating>.form-select {
        font-size: 0.95rem;
        padding: 1.1rem 0.85rem;
        height: calc(3.5rem + 2px);
    }

    .form-floating>label {
        font-size: 0.95rem;
        padding: 1.1rem 0.85rem;
    }

    .input-icon {
        font-size: 1rem;
        right: 0.85rem;
    }

    .section-divider {
        margin: 2rem 0;
    }

    .section-divider span {
        font-size: 0.85rem;
        padding: 0.45rem 1.25rem;
    }

    .checkbox-section {
        padding: 1.5rem;
    }

    .checkbox-section .form-label {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .form-check {
        padding: 0.85rem;
        margin: 0.45rem 0;
    }

    .form-check-input {
        width: 1.35rem;
        height: 1.35rem;
    }

    .form-check-label {
        font-size: 0.95rem;
    }

    .btn-submit {
        font-size: 1rem;
        padding: 1.1rem 2rem;
        letter-spacing: 1.2px;
    }

    .btn-submit svg {
        width: 22px;
        height: 22px;
    }

    .error-message {
        font-size: 0.825rem;
    }

    .row.g-4 {
        row-gap: 1.25rem !important;
    }
}

@media (min-width: 768px) {
    .main-container {
        margin: 1.5rem auto;
        border-radius: 24px;
        max-width: 750px;
    }

    .back-button-container {
        padding: 1.5rem 1rem 0;
    }

    .btn-back {
        font-size: 0.95rem;
        padding: 0.75rem 1.75rem;
    }

    .header-section {
        padding: 2.5rem 2rem;
    }

    .header-section h1 {
        font-size: 2.5rem;
    }

    .header-section p {
        font-size: 1.1rem;
    }

    .logo-container {
        width: 85px;
        height: 85px;
        margin-right: 18px;
    }

    .form-section {
        padding: 2.5rem 2rem;
    }

    .form-floating>.form-control,
    .form-floating>.form-select {
        font-size: 1rem;
        padding: 1.2rem 1rem;
        height: calc(3.75rem + 2px);
    }

    .form-floating>label {
        font-size: 1rem;
        padding: 1.2rem 1rem;
    }

    .input-icon {
        font-size: 1.1rem;
        right: 1rem;
    }

    .section-divider {
        margin: 2.25rem 0;
    }

    .section-divider span {
        font-size: 0.9rem;
        padding: 0.5rem 1.4rem;
    }

    .checkbox-section {
        padding: 1.75rem;
    }

    .checkbox-section .form-label {
        font-size: 1.05rem;
        margin-bottom: 1.4rem;
    }

    .form-check {
        padding: 0.95rem;
        margin: 0.5rem 0;
    }

    .form-check-input {
        width: 1.45rem;
        height: 1.45rem;
    }

    .form-check-label {
        font-size: 1rem;
    }

    .btn-submit {
        font-size: 1.05rem;
        padding: 1.15rem 2.25rem;
        letter-spacing: 1.3px;
    }

    .btn-submit svg {
        width: 23px;
        height: 23px;
    }

    .error-message {
        font-size: 0.85rem;
    }

    .row.g-4 {
        row-gap: 1.5rem !important;
    }
}

@media (min-width: 992px) {
    .main-container {
        margin: 2rem auto;
        border-radius: 28px;
        max-width: 850px;
    }

    .back-button-container {
        padding: 1.5rem 1rem 0;
    }

    .btn-back {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }

    .header-section {
        padding: 3rem 2rem;
    }

    .header-section h1 {
        font-size: 2.75rem;
    }

    .header-section p {
        font-size: 1.15rem;
    }

    .logo-container {
        width: 92px;
        height: 92px;
        margin-right: 20px;
    }

    .form-section {
        padding: 3rem 2.5rem;
    }

    .form-floating>.form-control,
    .form-floating>.form-select {
        font-size: 1rem;
        padding: 1.2rem 1rem;
        height: calc(3.75rem + 2px);
    }

    .form-floating>label {
        font-size: 1rem;
        padding: 1.2rem 1rem;
    }

    .input-icon {
        font-size: 1.15rem;
    }

    .section-divider {
        margin: 2.4rem 0;
    }

    .section-divider span {
        font-size: 0.92rem;
        padding: 0.5rem 1.45rem;
    }

    .checkbox-section {
        padding: 1.85rem;
    }

    .checkbox-section .form-label {
        font-size: 1.08rem;
        margin-bottom: 1.45rem;
    }

    .form-check {
        padding: 1rem;
        margin: 0.5rem 0;
    }

    .form-check-input {
        width: 1.48rem;
        height: 1.48rem;
    }

    .form-check-label {
        font-size: 1rem;
    }

    .btn-submit {
        font-size: 1.08rem;
        padding: 1.2rem 2.4rem;
        letter-spacing: 1.4px;
    }

    .btn-submit svg {
        width: 24px;
        height: 24px;
    }

    .error-message {
        font-size: 0.865rem;
    }

    .row.g-4 {
        row-gap: 1.5rem !important;
    }
}

@media (min-width: 1200px) {
    .main-container {
        margin: 2rem auto;
        border-radius: 30px;
        max-width: 900px;
    }

    .back-button-container {
        padding: 1.5rem 1rem 0;
    }

    .btn-back {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }

    .header-section {
        padding: 3.25rem 2rem;
    }

    .header-section h1 {
        font-size: 3rem;
    }

    .header-section p {
        font-size: 1.2rem;
    }

    .logo-container {
        width: 100px;
        height: 100px;
        margin-right: 20px;
    }

    .form-section {
        padding: 3.25rem 2.75rem;
    }

    .form-floating>.form-control,
    .form-floating>.form-select {
        font-size: 1rem;
        padding: 1.2rem 1rem;
        height: calc(3.75rem + 2px);
    }

    .form-floating>label {
        font-size: 1rem;
        padding: 1.2rem 1rem;
    }

    .input-icon {
        font-size: 1.15rem;
    }

    .section-divider {
        margin: 2.5rem 0;
    }

    .section-divider span {
        font-size: 0.95rem;
        padding: 0.5rem 1.5rem;
    }

    .checkbox-section {
        padding: 2rem;
    }

    .checkbox-section .form-label {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .form-check {
        padding: 1rem;
        margin: 0.5rem 0;
    }

    .form-check-input {
        width: 1.5rem;
        height: 1.5rem;
    }

    .form-check-label {
        font-size: 1rem;
    }

    .btn-submit {
        font-size: 1.1rem;
        padding: 1.22rem 2.6rem;
        letter-spacing: 1.45px;
    }

    .btn-submit svg {
        width: 24px;
        height: 24px;
    }

    .error-message {
        font-size: 0.875rem;
    }

    .row.g-4 {
        row-gap: 1.5rem !important;
    }
}

@media (min-width: 1400px) {
    .main-container {
        margin: 2.5rem auto;
        border-radius: 32px;
        max-width: 950px;
    }

    .back-button-container {
        padding: 1.5rem 1rem 0;
    }

    .btn-back {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }

    .header-section {
        padding: 3.5rem 2.5rem;
    }

    .header-section h1 {
        font-size: 3.25rem;
    }

    .header-section p {
        font-size: 1.3rem;
    }

    .logo-container {
        width: 110px;
        height: 110px;
        margin-right: 25px;
    }

    .form-section {
        padding: 3.5rem 3rem;
    }

    .form-floating>.form-control,
    .form-floating>.form-select {
        font-size: 1.05rem;
        padding: 1.25rem 1.1rem;
        height: calc(3.85rem + 2px);
    }

    .form-floating>label {
        font-size: 1.05rem;
        padding: 1.25rem 1.1rem;
    }

    .input-icon {
        font-size: 1.2rem;
        right: 1.1rem;
    }

    .section-divider {
        margin: 2.5rem 0;
    }

    .section-divider span {
        font-size: 0.95rem;
        padding: 0.5rem 1.5rem;
    }

    .checkbox-section {
        padding: 2rem;
    }

    .checkbox-section .form-label {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .form-check {
        padding: 1rem;
        margin: 0.5rem 0;
    }

    .form-check-input {
        width: 1.5rem;
        height: 1.5rem;
    }

    .form-check-label {
        font-size: 1rem;
    }

    .btn-submit {
        font-size: 1.15rem;
        padding: 1.25rem 3rem;
        letter-spacing: 1.5px;
    }

    .btn-submit svg {
        width: 24px;
        height: 24px;
    }

    .error-message {
        font-size: 0.875rem;
    }

    .row.g-4 {
        row-gap: 1.5rem !important;
    }
}