.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal:target {
    display: flex;
}

.modal-content {
    background: white;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.close {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background: #ff5f5f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.close:hover {
    background: #FF4400;
}
.f-group label {
    color: #272D37;
    text-align: left;
}
.f-group input {
    padding: 1rem;
    border: 1px solid #DAE0E6;
    border-radius: .5rem;
    color: var(--text-dark);
}
.btn-wrapper p {
    padding: 22px 0;
    text-align: center;
    color: #5F6D7E;
}
.close-modal {
    display: flex;
    justify-content: flex-end;
}

form:invalid .btn-wrapper .btn, .loading {
    background-color: var(--color-pri-light);
    border: 1px solid var(--color-pri-light);
}
.form-container .btn-pri {
    width: 100%;
}
 .f-group-wrapper, .f-group, .form-base,.f-group > div {
    display: flex
;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-wrapper a {
    text-decoration: none;
    color: #FF4400;
    font-weight: 700;
    display: inline-flex
;
    justify-content: center;
    align-items: center;
    gap: 4px;
}