/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #eef5ff 0%,
            #f8fbff 50%,
            #eef6ff 100%
        );

    color: #1e293b;
}


/* =========================================================
   PAGE
========================================================= */

.registration-page {
    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px 20px;
}


.registration-container {
    width: 100%;

    max-width: 620px;
}


/* =========================================================
   CARD
========================================================= */

.registration-card {
    width: 100%;

    background: #ffffff;

    border: 1px solid #e5eaf1;

    border-radius: 22px;

    padding: 35px;

    box-shadow:
        0 25px 70px
        rgba(15, 23, 42, 0.12);
}


/* =========================================================
   HEADER
========================================================= */

.registration-header {
    display: flex;

    align-items: center;

    gap: 17px;

    margin-bottom: 28px;
}


.registration-icon {
    width: 60px;

    height: 60px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #e8f2ff,
            #d8e9ff
        );

    color: #005ce6;

    font-size: 23px;
}


.registration-heading {
    min-width: 0;
}


.registration-tag {
    display: block;

    margin-bottom: 4px;

    color: #005ce6;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.1px;

    text-transform: uppercase;
}


.registration-heading h1 {
    margin: 0 0 5px;

    color: #111827;

    font-size: 28px;

    font-weight: 800;

    line-height: 1.2;
}


.registration-heading p {
    color: #64748b;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   FORM
========================================================= */

.registration-form {
    display: flex;

    flex-direction: column;

    gap: 18px;
}


.form-group {
    width: 100%;
}


.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #1e293b;

    font-size: 14px;

    font-weight: 700;
}


.form-group label span {
    color: #ef4444;

    margin-left: 2px;
}


/* =========================================================
   NORMAL INPUT
========================================================= */

.input-box {
    position: relative;

    width: 100%;
}


.input-box > i {
    position: absolute;

    top: 50%;

    left: 15px;

    z-index: 2;

    transform: translateY(-50%);

    color: #64748b;

    font-size: 15px;

    pointer-events: none;
}


.input-box input,
.input-box textarea {
    width: 100%;

    border: 1px solid #dbe2ea;

    border-radius: 11px;

    background: #f8fafc;

    color: #1e293b;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}


.input-box input {
    height: 48px;

    padding:
        0
        15px
        0
        45px;
}


.input-box textarea {
    min-height: 95px;

    padding:
        13px
        15px
        13px
        45px;

    resize: vertical;

    line-height: 1.6;
}


.input-box input:focus,
.input-box textarea:focus {
    border-color: #005ce6;

    background: #ffffff;

    box-shadow:
        0 0 0 4px
        rgba(0, 92, 230, 0.09);
}


.input-box:focus-within > i {
    color: #005ce6;
}


/* =========================================================
   TEXTAREA ICON
========================================================= */

.textarea-box > i {
    top: 18px;

    transform: none;
}


/* =========================================================
   SEARCH SELECT
========================================================= */

.search-select {
    position: relative;

    width: 100%;
}


/* =========================================================
   SEARCH INPUT
========================================================= */

.search-input-box {
    position: relative;

    width: 100%;
}


.search-input-box > i:first-child {
    position: absolute;

    left: 15px;

    top: 50%;

    z-index: 2;

    transform: translateY(-50%);

    color: #64748b;

    font-size: 15px;

    pointer-events: none;
}


.search-input-box input {
    width: 100%;

    height: 48px;

    padding:
        0
        45px
        0
        45px;

    border: 1px solid #dbe2ea;

    border-radius: 11px;

    background: #f8fafc;

    color: #1e293b;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}


.search-input-box input:focus {
    border-color: #005ce6;

    background: #ffffff;

    box-shadow:
        0 0 0 4px
        rgba(0, 92, 230, 0.09);
}


.search-select:focus-within
.search-input-box > i:first-child {
    color: #005ce6;
}


/* =========================================================
   SEARCH ARROW
========================================================= */

.search-arrow {
    position: absolute;

    right: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: #64748b;

    font-size: 11px;

    pointer-events: none;

    transition:
        transform .25s ease,
        color .25s ease;
}


.search-select.open
.search-arrow {
    color: #005ce6;

    transform:
        translateY(-50%)
        rotate(180deg);
}


/* =========================================================
   OPTIONS
========================================================= */

.search-options {
    position: absolute;

    top: calc(100% + 7px);

    left: 0;

    z-index: 1000;

    width: 100%;

    max-height: 270px;

    overflow-y: auto;

    padding: 7px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    box-shadow:
        0 18px 40px
        rgba(15, 23, 42, 0.16);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform: translateY(-8px);

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;
}


.search-select.open
.search-options {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translateY(0);
}


/* =========================================================
   OPTION
========================================================= */

.search-option {
    display: flex;

    flex-direction: column;

    gap: 3px;

    padding: 11px 13px;

    border-radius: 8px;

    color: #1e293b;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}


.search-option:hover {
    background: #eff6ff;

    color: #005ce6;
}


.search-option.selected {
    background: #eaf2ff;

    color: #005ce6;
}


.search-option strong {
    color: inherit;

    font-size: 14px;

    font-weight: 650;
}


.search-option small {
    color: #94a3b8;

    font-size: 11px;

    line-height: 1.3;
}


.search-option:hover small,
.search-option.selected small {
    color: #64748b;
}


/* =========================================================
   NO RESULTS
========================================================= */

.no-results {
    padding: 18px 12px;

    color: #94a3b8;

    font-size: 13px;

    text-align: center;
}


/* =========================================================
   SCROLLBAR
========================================================= */

.search-options::-webkit-scrollbar {
    width: 5px;
}


.search-options::-webkit-scrollbar-track {
    background: transparent;
}


.search-options::-webkit-scrollbar-thumb {
    background: #cbd5e1;

    border-radius: 10px;
}


/* =========================================================
   ERROR
========================================================= */

.field-error {
    min-height: 0;

    margin-top: 5px;

    color: #dc2626;

    font-size: 12px;
}


.input-error {
    border-color: #ef4444 !important;

    background: #fffafa !important;
}


/* =========================================================
   SUBMIT
========================================================= */

.registration-submit {
    width: 100%;

    min-height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 5px;

    border: none;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #005ce6,
            #007bff
        );

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 20px
        rgba(0, 92, 230, 0.22);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        opacity .25s ease;
}


.registration-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(0, 92, 230, 0.3);
}


.registration-submit i {
    transition: transform .25s ease;
}


.registration-submit:hover i {
    transform: translateX(5px);
}


.registration-submit:disabled {
    opacity: .65;

    cursor: not-allowed;

    transform: none;
}


/* =========================================================
   MESSAGE
========================================================= */

.registration-message {
    display: none;

    padding: 12px 15px;

    border-radius: 9px;

    font-size: 13px;

    line-height: 1.5;

    text-align: center;
}


.registration-message.success {
    display: block;

    background: #ecfdf3;

    color: #15803d;

    border: 1px solid #bbf7d0;
}


.registration-message.error {
    display: block;

    background: #fef2f2;

    color: #dc2626;

    border: 1px solid #fecaca;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .registration-page {
        padding: 20px 12px;
    }

    .registration-card {
        padding: 27px 20px;

        border-radius: 18px;
    }

    .registration-header {
        gap: 13px;

        margin-bottom: 24px;
    }

    .registration-icon {
        width: 50px;

        height: 50px;

        border-radius: 13px;

        font-size: 20px;
    }

    .registration-heading h1 {
        font-size: 23px;
    }

    .registration-heading p {
        font-size: 12px;
    }

}


@media (max-width: 480px) {

    .registration-page {
        padding: 12px 8px;
    }

    .registration-card {
        padding: 24px 16px;

        border-radius: 16px;
    }

    .registration-header {
        align-items: flex-start;
    }

    .registration-icon {
        width: 45px;

        height: 45px;

        font-size: 18px;
    }

    .registration-tag {
        font-size: 10px;
    }

    .registration-heading h1 {
        font-size: 21px;
    }

    .registration-heading p {
        font-size: 11px;
    }

    .registration-form {
        gap: 15px;
    }

    .form-group label {
        font-size: 13px;
    }

    .input-box input,
    .search-input-box input {
        height: 46px;

        font-size: 13px;
    }

    .input-box textarea {
        font-size: 13px;
    }

    .search-options {
        max-height: 230px;
    }

    .search-option {
        padding: 10px 11px;
    }

}