﻿@font-face {
    font-family: "Graphik";
    src: url("../../fonts/graphik-bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Graphik";
    src: url("../../fonts/graphik-regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Graphik";
    src: url("../../fonts/GraphikMedium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Graphik";
    src: url("../../fonts/GraphikBlack.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
html, body {
    font-family: 'Graphik','Helvetica', sans-serif;
    overflow: hidden;
    font-size: 16px;
}

.mb-6 {
    margin-bottom: 2rem !important;
}
.mb-9 {
    margin-bottom: 6rem !important;
}

.fw-500 {
    font-weight:500 !important;
}

.form-control.is-invalid {
    border-color: #A30618;
    background-color: #F5CDD2;
    background-image: url("/Content/images/newSignUp/error_icon.svg")
}

.form-control.is-valid {
    border-color: #00558E;
    /*background-color: #CDF0DC;*/
    background-image: none;
}
    .form-control.is-valid:focus {
        border-color: #00558E;
        box-shadow: 0 0 0 0.25rem rgba(0, 85, 142, 0.25);
    }

.swal-popup {
    border-radius: 16px;
}

.swal-title {
    color: #002955 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
}

.swal-text {
    color: #002955 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/*
    button
*/
.btn-primary-gradient {
    background: linear-gradient(321deg, #03BEF2 0%, #01528F 100%);
    background-clip: border-box;
    border-radius: 2.5rem;
    color: white;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    height: 3.125rem;
    border: 1px solid transparent;
    transition: all .05s ease;
}

    .btn-primary-gradient:hover,
    .btn-inquiry:hover {
        background: linear-gradient(321deg, #01528F 0%, #03BEF2 100%);
        color: white;
        border: 2px solid #03BEF2;
    }


.btn-primary-zappy {
    background: #9BCBE7;
    background-clip: border-box;
    border-radius: 2.5rem;
    color: var(--Tertiary-Blue-Zappy-Tertiary-700);
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    height: 3.125rem;
    border: 1px solid transparent;
    transition: all .05s ease;
}

    .btn-primary-zappy:hover {
        background: #9BCBE7;
        border: 2px solid var(--Tertiary-Blue-Zappy-Tertiary-700);
    }

.zappy-red-color {
    color: var(--Error-Message-Red);
}

.form-switch .form-check-input {
    background-color: var(--Zappy_Neutral_Grey);
    background-image: url("data:image/svg+xml,%3csvg viewBox='-4 -4 8 8' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e");
}


/**
    zappy check box
*/
.z-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}


    .z-check input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        width: 16px;
        height: 16px;
        border: 1px solid var(--Tertiary-Blue-Zappy-Tertiary-700);
        background: #fff;
        position: relative;
        cursor: pointer;
        transition: all 0.2s ease;
    }

        /* hover */
        .z-check input[type="checkbox"]:hover {
            border-color: #002955;
        }


        .z-check input[type="checkbox"]:checked {
            border-color: #002955;
            background: #fff;
        }


            .z-check input[type="checkbox"]:checked::after {
                content: "✓";
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -55%);
                font-size: 12px;
                color: #002955;
                line-height: 1;
            }

/* =====================================================
   Draft Status
===================================================== */
.draft-save-status {
    position: fixed;
    top: 8rem;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-width: 236px;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    background: #fff;
    color: #002955;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    border: 1px solid #D5D4DC;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

    .draft-save-status.show {
        opacity: 1;
        transform: translateY(0);
    }



/* =====================================================
   Icon
===================================================== */

.draft-save-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}



/* =====================================================
   Saving Spinner
===================================================== */

.draft-save-status.saving .draft-save-icon {
    animation: draft-spin 0.8s linear infinite;
}



/* =====================================================
   Animation
===================================================== */

@keyframes draft-spin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .draft-save-status {
        top: 6rem;
        right: 20px;
        gap: 0.5rem;
        min-width: 136px;
        padding: 0.5rem;   
    }
}
