.modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 5px 5px 0px var(--secondary-color), 0 15px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid var(--gray-300);
    padding: 1.5rem 2rem;
    background: var(--white);
    position: relative;
}

.modal-body {
    padding: 2rem;
    background: var(--white);
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: var(--font-medium);
    transition: text-shadow 0.3s ease;
}

.back-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 1px var(--primary-color);
}

.back-link i {
    font-size: var(--text-xl);
}

.form-label {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--gray-500);
    display: block;
}

.required-asterisk {
    color: var(--secondary-color);
    margin-right: 2px;
}

.funding-options {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.funding-btn {
    width: calc(95% / 3);
    min-width: 120px;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: var(--font-medium);
    position: relative;
    overflow: hidden;
}

.funding-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(91, 58, 157, 0.2);
}

.funding-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(91, 58, 157, 0.3);
}

.iti {
    width: 100%;
}

.iti__flag-container {
    padding: 0;
}

.iti__selected-flag {
    border-right: 1px solid var(--gray-300);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

#mobile {
    padding-left: 60px;
}

.form-control.error {
    border-color: var(--secondary-color);;
    animation: shake 0.5s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.form-check {
    padding-left: 1.75rem;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    cursor: pointer;
    border: 2px solid var(--gray-300);
    transition: all 0.2s ease;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(91, 58, 157, 0.15);
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--gray-700);
    cursor: pointer;
    user-select: none;
}

.disclaimer-text {
    color: var(--gray-700);
    margin-top: 1.25rem;
    margin-bottom: 1.75rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
}

.btn-continue {
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: var(--secondary-color);
    border: none;
    color: #333;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-continue::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-continue:hover::before {
    width: 300px;
    height: 300px;
}

.btn-continue:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

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

.btn-continue:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-continue i {
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
}

.btn-continue span {
    position: relative;
    z-index: 1;
}

.alert {
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

.spinner-border-sm {
    width: 1.1rem;
    height: 1.1rem;
    border-width: 2px;
}

@media (max-width: 767px) {
    .modal-body {
        padding: 1.5rem;
    }

    .funding-btn {
        min-width: 100px;
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }

    .form-header {
        font-size: 0.95rem;
    }
}