/* ============================================================
   CODEWORD HACKATHON
   COMPANY REGISTRATION PAGE
   Theme matched with hackathon.css
   ============================================================ */


/* ============================================================
   PAGE
   ============================================================ */

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #F5F7FB;
    color: #273247;
    line-height: 1.6;
    overflow-x: hidden;
}


/* ============================================================
   COMPANY REGISTER SECTION
   ============================================================ */

.company-register {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 160px);

    padding: 75px 20px 90px;

    background:
        linear-gradient(
            180deg,
            #F5F7FB 0%,
            #FFFFFF 100%
        );

    overflow: hidden;
}


/* ============================================================
   BACKGROUND DECORATION
   ============================================================ */

.company-register::before {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    top: -180px;
    left: -160px;

    border-radius: 50%;

    background:
        rgba(79, 70, 216, 0.07);

    pointer-events: none;
}


.company-register::after {
    content: "";
    position: absolute;

    width: 350px;
    height: 350px;

    right: -130px;
    bottom: -150px;

    border-radius: 50%;

    background:
        rgba(246, 166, 35, 0.08);

    pointer-events: none;
}


/* ============================================================
   MAIN CONTAINER
   ============================================================ */

.register-container {
    position: relative;
    z-index: 2;

    width: min(100%, 1180px);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    align-items: center;

    gap: 70px;
}


/* ============================================================
   LEFT CONTENT
   ============================================================ */

.register-left {
    width: 100%;
}


/* Small badge */

.register-left::before {
    content: "CODEWORD HACKATHON";

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 7px 14px;

    margin-bottom: 18px;

    border-radius: 30px;

    background: #EEEEFF;

    border:
        1px solid
        rgba(79, 70, 216, 0.14);

    color: #4F46D8;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.2px;
}


/* Heading */

.register-left h2 {
    margin: 0 0 18px;

    color: #172033;

    font-size:
        clamp(32px, 4vw, 48px);

    line-height: 1.15;

    font-weight: 850;

    letter-spacing: -1.2px;
}


/* Heading highlight */

.register-left h2::after {
    content: "";

    display: block;

    width: 65px;
    height: 4px;

    margin-top: 16px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #4F46D8,
            #F6A623
        );
}


/* Description */

.register-left p {
    max-width: 560px;

    margin: 22px 0 28px;

    color: #5B6577;

    font-size: 15px;

    line-height: 1.8;
}


/* ============================================================
   BENEFITS LIST
   ============================================================ */

.register-left ul {
    margin: 0;
    padding: 0;

    display: flex;

    flex-direction: column;

    gap: 13px;

    list-style: none;
}


.register-left ul li {
    position: relative;

    display: flex;

    align-items: center;

    min-height: 48px;

    padding: 10px 15px;

    border-radius: 12px;

    background: #FFFFFF;

    border:
        1px solid #E1E6EF;

    box-shadow:
        0 5px 18px
        rgba(25, 35, 55, 0.05);

    color: #344057;

    font-size: 13px;

    font-weight: 600;

    transition: all .3s ease;
}


.register-left ul li:hover {
    transform: translateX(5px);

    border-color:
        rgba(79, 70, 216, 0.20);

    box-shadow:
        0 10px 25px
        rgba(25, 35, 55, 0.08);
}


/* Check icon */

.register-left ul li::first-letter {
    color: #22C55E;
}


/* ============================================================
   RIGHT FORM CARD
   ============================================================ */

.register-right {
    position: relative;

    width: 100%;

    padding: 38px;

    background: #FFFFFF;

    border:
        1px solid #E1E6EF;

    border-radius: 22px;

    box-shadow:
        0 20px 55px
        rgba(25, 35, 55, 0.12);

    overflow: hidden;
}


/* Top gradient line */

.register-right::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            #4F46D8,
            #625BE7,
            #F6A623
        );
}


/* ============================================================
   FORM TITLE
   ============================================================ */

.form-title {
    margin: 0 0 26px;

    color: #172033;

    font-size: 24px;

    font-weight: 800;

    line-height: 1.3;
}


.form-title::after {
    content: "";

    display: block;

    width: 45px;
    height: 3px;

    margin-top: 9px;

    border-radius: 10px;

    background: #F6A623;
}


/* ============================================================
   FORM
   ============================================================ */

.company-form {
    width: 100%;
}


/* ============================================================
   FORM GROUP
   ============================================================ */

.form-group {
    margin-bottom: 17px;
}


/* ============================================================
   LABEL
   ============================================================ */

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #344057;

    font-size: 12px;

    font-weight: 700;
}


/* ============================================================
   INPUTS / TEXTAREA
   ============================================================ */

.company-form input,
.company-form textarea {
    width: 100%;

    display: block;

    padding: 12px 14px;

    border:
        1px solid #E1E6EF;

    border-radius: 10px;

    outline: none;

    background: #F8F9FC;

    color: #273247;

    font-family: 'Poppins', sans-serif;

    font-size: 13px;

    line-height: 1.5;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


/* Input sizing */

.company-form input {
    min-height: 45px;
}


.company-form textarea {
    min-height: 90px;

    resize: vertical;
}


/* Placeholder */

.company-form input::placeholder,
.company-form textarea::placeholder {
    color: #98A2B3;
}


/* Focus */

.company-form input:focus,
.company-form textarea:focus {
    background: #FFFFFF;

    border-color:
        rgba(79, 70, 216, 0.55);

    box-shadow:
        0 0 0 4px
        rgba(79, 70, 216, 0.08);
}


/* ============================================================
   ERROR
   ============================================================ */

.error {
    display: block;

    min-height: 18px;

    margin-top: 4px;

    color: #EF4444;

    font-size: 11px;

    font-weight: 500;
}


.input-error {
    border-color:
        #EF4444 !important;

    background: #FFF7F7 !important;

    box-shadow:
        0 0 0 3px
        rgba(239, 68, 68, 0.07) !important;
}


/* ============================================================
   REGISTER BUTTON
   ============================================================ */

.register-btn {
    width: 100%;

    min-height: 48px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-top: 5px;

    padding: 12px 20px;

    border: none;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #F6A623,
            #E99712
        );

    color: #FFFFFF;

    font-family: 'Poppins', sans-serif;

    font-size: 13px;

    font-weight: 750;

    cursor: pointer;

    box-shadow:
        0 7px 18px
        rgba(246, 166, 35, 0.20);

    transition:
        all .3s ease;
}


.register-btn:hover {
    background:
        linear-gradient(
            135deg,
            #D98C08,
            #F6A623
        );

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 24px
        rgba(246, 166, 35, 0.27);
}


.register-btn:active {
    transform:
        translateY(0);
}


.register-btn i {
    font-size: 14px;
}


/* ============================================================
   FORM MESSAGE
   ============================================================ */

.form-message {
    min-height: 25px;

    margin: 14px 0 0;

    padding: 9px 12px;

    border-radius: 8px;

    font-size: 12px;

    font-weight: 600;

    line-height: 1.5;

    text-align: center;

    transition:
        opacity .5s ease;
}


/* ============================================================
   LOGIN SECTION
   ============================================================ */

.login-link {
    margin-top: 22px;

    padding-top: 20px;

    border-top:
        1px solid #EDF0F5;

    text-align: center;
}


.login-link p {
    margin: 0 0 10px;

    color: #667085;

    font-size: 12px;
}


/* ============================================================
   LOGIN BUTTON
   ============================================================ */

.login-btn {
    width: 100%;

    min-height: 45px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding: 11px 15px;

    border:
        1px solid
        rgba(79, 70, 216, 0.20);

    border-radius: 10px;

    background:
        #EEEEFF;

    color: #4F46D8;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition:
        all .3s ease;
}


.login-btn:hover {
    background: #4F46D8;

    border-color: #4F46D8;

    color: #FFFFFF;

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(79, 70, 216, 0.20);
}


.login-btn i {
    margin-right: 3px;

    font-size: 13px;
}


/* ============================================================
   INPUT AUTOFILL
   ============================================================ */

.company-form input:-webkit-autofill,
.company-form input:-webkit-autofill:hover,
.company-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #273247;

    -webkit-box-shadow:
        0 0 0 1000px #F8F9FC inset;

    transition:
        background-color 5000s ease-in-out 0s;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1000px) {

    .company-register {
        padding:
            65px 20px 80px;
    }


    .register-container {
        grid-template-columns:
            1fr;

        max-width: 760px;

        gap: 45px;
    }


    .register-left {
        text-align: center;
    }


    .register-left::before {
        margin-left: auto;
        margin-right: auto;
    }


    .register-left h2::after {
        margin-left: auto;
        margin-right: auto;
    }


    .register-left p {
        margin-left: auto;
        margin-right: auto;
    }


    .register-left ul {
        max-width: 650px;

        margin:
            0 auto;

        text-align: left;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

    .company-register {
        padding:
            45px 15px 60px;
    }


    .register-container {
        gap: 32px;
    }


    .register-left h2 {
        font-size: 31px;

        letter-spacing: -.7px;
    }


    .register-left p {
        font-size: 13px;

        line-height: 1.7;
    }


    .register-left ul {
        gap: 10px;
    }


    .register-left ul li {
        min-height: 44px;

        padding:
            9px 12px;

        font-size: 12px;
    }


    .register-right {
        padding: 28px 20px;

        border-radius: 17px;
    }


    .form-title {
        font-size: 21px;
    }


    .form-group {
        margin-bottom: 14px;
    }


    .company-form input,
    .company-form textarea {
        font-size: 12px;
    }


    .register-btn {
        min-height: 46px;

        font-size: 12px;
    }


    .login-btn {
        min-height: 44px;
    }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 400px) {

    .company-register {
        padding:
            35px 12px 50px;
    }


    .register-left h2 {
        font-size: 27px;
    }


    .register-right {
        padding:
            24px 16px;
    }


    .form-title {
        font-size: 19px;
    }


    .register-left ul li {
        font-size: 11px;
    }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .register-left ul li,
    .register-btn,
    .login-btn,
    .company-form input,
    .company-form textarea {
        transition: none;
    }
}