.form-container {
    width: 100%;
    max-width: 700px;
    margin: 50px auto;
    border-radius: 10px;
}
.modal-content {
    border-radius: 15px;
}
.modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 1rem);
}
.modal-header, .modal-footer {
    border: none;
}
.modal-body {
    text-align: center;
    padding: 30px;
}
.modal-body h4 {
    font-size: 24px;
    margin-bottom: 10px;
}
.modal-body p {
    font-size: 16px;
}
.checkmark, .error-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    animation: pop 0.4s ease-in-out, bounce 0.6s ease-in-out infinite alternate;
}
.checkmark {
    border: 4px solid #28a745;
}
.checkmark::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 10px;
    width: 20px;
    height: 40px;
    border: solid #28a745;
    border-width: 0 6px 6px 0;
    transform: rotate(45deg);
    animation: draw 0.5s ease forwards;
}
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.btn-dark {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}
/* .error-icon {
    border: 4px solid #dc3545;
} */
/* .error-icon::before, .error-icon::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 6px;
    background-color: #dc3545;
    top: 37px;
    left: 20px;
    transform-origin: center;
    animation: draw 0.5s ease forwards;
} */
.error-icon::before {
    transform: rotate(45deg) scale(0);
}
.error-icon::after {
    transform: rotate(-45deg) scale(0);
}
.success-icon, .error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    animation: popIn 0.7s ease-out;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.2); opacity: 1; }
    80% { transform: scale(0.9); }
    100% { transform: scale(1); }
}
@keyframes pop {
    0% { transform: scale(0); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
@keyframes draw {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}
@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}