.v3-auth-modal-wrap .modal-dialog {
    max-width: 600px;
}

.v3-auth-modal {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(20, 40, 40, 0.18);
}

.modal .modal-content.v3-auth-modal {
    padding: 0;
}

.v3-auth-modal .modal-header {
    border-bottom: none;
    padding: 24px 24px 0;
}

.v3-auth-modal .modal-title {
    font-family: 'Baloo 2', 'CircularStd', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #234b4c;
}

.modal .modal-content .close.v3-auth-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    font-size: 18px;
    line-height: 1;
    color: #55706f;
    padding: 0;
    border: none;
}

.modal .modal-content .close.v3-auth-close:hover {
    background: #e5eeee;
    opacity: 1;
    color: #234b4c;
}

.v3-auth-modal .modal-body {
    padding: 12px 24px 28px;
}

.v3-auth-sub {
    color: #55706f;
    font-size: 14px;
    margin-bottom: 20px;
}

.v3-auth-modal .form-group {
    margin-bottom: 16px;
}

.v3-auth-modal label {
    font-size: 13px;
    font-weight: 700;
    color: #234b4c;
    margin-bottom: 6px;
}

.v3-auth-modal .form-control {
    min-height: 46px;
    border: 2px solid #e5eeee;
    border-radius: 12px;
    font-size: 14px;
    padding-left: 14px;
}

.v3-auth-modal .form-control:focus {
    border-color: #467D7F;
    box-shadow: none;
}

.v3-auth-modal .input-group .form-control {
    border-right: none;
    border-radius: 12px 0 0 12px;
}

.v3-auth-modal .input-group-prepend .input-group-text {
    border: 2px solid #e5eeee;
    border-left: none;
    background: #fff;
    border-radius: 0 12px 12px 0;
}

.v3-auth-btn {
    min-height: 48px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.v3-auth-switch {
    text-align: center;
    font-size: 13px;
    color: #55706f;
    margin: 16px 0 0;
}

.v3-auth-switch a {
    color: #467D7F;
    font-weight: 700;
}

.v3-auth-modal-error .modal-body {
    padding: 8px 24px 28px;
}

.v3-auth-error-icon {
    display: inline-block;
    font-size: 32px;
    margin-bottom: 8px;
}

.v3-auth-error-message {
    color: #b3261e;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

.v3-confirm-modal .modal-dialog {
    max-width: 480px;
}

.modal .modal-content .modal-header.v3-confirm-header {
    border-bottom: 1px solid #eef2f2;
    padding: 18px 24px;
    align-items: center;
}

.v3-confirm-modal .modal-body {
    padding: 20px 24px 24px;
}

.v3-confirm-message {
    font-size: 16.8px;
}

.modal .modal-content .modal-footer.v3-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid #eef2f2;
    padding: 16px 24px;
    margin: 0;
}

.v3-confirm-cancel,
.v3-confirm-ok {
    min-height: 40px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid transparent;
}

.v3-confirm-cancel {
    background: #fff;
    border-color: #cfe6e4;
    color: #55706f;
}

.v3-confirm-ok {
    background: #467D7F;
    color: #fff;
}

.v3-confirm-ok:hover {
    background: #345d5f;
    color: #fff;
}
