@font-face {
    font-family: "Takin";
    src: url(/Assets/fonts/takin-Light.ttf);
}

@font-face {
    font-family: "Vazir";
    src: url(/Assets/fonts/Vazir-Medium.ttf);
}

* {
    font-family: "Vazir"
}

a {
    text-decoration: none !important
}

::selection {
    background-color: #FF8040;
    color: #fff;
}


.TakinFont {
    font-family: "Takin" !important
}

    .TakinFont span {
        font-family: "Takin" !important;
        color: #0046FF !important
    }


.HeroSection {
    width: 100%;
    height: 100vh;
    display: flex
}

.rightSide {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: right;
}

.leftSide {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

form {
    width: 100%;
    height: 100%
}

.form-container {
    width: 100%;
    height: 100%;
    background: #0046ff36;
    display: flex;
    align-items: center;
    padding: 20px;
    justify-content: center
}

.custom-form-container {
    max-width: 500px;
    padding: 1.5rem;
    width: 100%;
    background: #f9fafb;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    font-family: system-ui, 'Segoe UI', 'Tahoma', sans-serif;
}

    .custom-form-container p {
        margin: 1rem 0 0.3rem 0;
        font-weight: 600;
        color: #1f2937;
        font-size: 0.95rem;
    }

    .custom-form-container input[type="text"]:not(.toggle-input) {
        width: 100%;
        padding: 10px 14px;
        border: 1px solid #d1d5db;
        border-radius: 14px;
        font-size: 0.95rem;
        background-color: #ffffff;
        transition: all 0.2s ease;
        box-sizing: border-box;
        font-family: inherit;
    }

        .custom-form-container input[type="text"]:not(.toggle-input):focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
        }

.toggle-wrapper {
    margin-top: 8px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-label {
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
    margin: 0;
}

.ios-switch {
    position: relative;
    display: inline-block;
    width: 51px;
    height: 31px;
}

    .ios-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: 0.2s;
    border-radius: 31px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 27px;
        width: 27px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        transition: 0.2s;
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

input:checked + .slider {
    background-color: #34c759;
}

    input:checked + .slider:before {
        transform: translateX(20px);
    }

.ios-switch:hover .slider {
    filter: brightness(0.96);
}

.toggle-status {
    font-size: 0.85rem;
    color: #64748b;
    margin-right: 8px;
    font-weight: normal;
}

.phone-wrapper {
    direction: ltr;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    transition: all 0.2s ease;
    padding: 0;
    overflow: hidden;
}

    .phone-wrapper:focus-within {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
    }

.phone-prefix {
    background-color: #f3f4f6;
    padding: 0 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1f2937;
    border-left: 1px solid #d1d5db;
    line-height: 42px;
    white-space: nowrap;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.phone-wrapper input {
    flex: 1;
    border: none !important;
    outline: none !important;
    padding: 10px 12px !important;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    direction: ltr;
    text-align: left;
    background: transparent;
    border-radius: 0 !important;
    box-shadow: none !important;
}

    .phone-wrapper input:focus {
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
    }

.custom-form-container .phone-wrapper input[type="text"] {
    width: auto;
}

@media (max-width: 550px) {
    .custom-form-container {
        margin: 1rem;
        padding: 1.2rem;
    }
}


.Primary-btn {
    background: #0046FF;
    color: white;
    padding: 10px 20px;
    border-radius: 14px;
    font-size: 14px;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
    font-family: Vazir !important
}

    .Primary-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0,70,255,0.3);
    }

    .Primary-btn:active {
        transform: scale(0.96);
    }
.mobile{display : none}
@media only screen and (max-width : 800px) {
    .rightSide {
        display: none
    }

    .leftSide {
        width: 100%
    }

    .form-container {
        height: fit-content;
        background: none
    }
    .custom-form-container{
        box-shadow:none
    }
    .mobile{
        display:block
    }
}


.error-input {
    outline: none;
    background: #ff00001c !important
}

.custom-form-container input {
    border: 1px solid #ccc;
    transition: border 0.3s ease;
}