/* =====================================================
   DAREMARK SIGNUP
===================================================== */

:root {
    --dm-navy: #203a78;
    --dm-navy-dark: #182f63;

    --dm-cream: #f3eee5;
    --dm-cream-light: #faf8f3;

    --dm-brown: #C72C41;

    --dm-black: #211d1b;
    --dm-gray: #6e6b68;

    --dm-border: #dcd4c8;

    --dm-white: #ffffff;
}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--dm-cream);
    color: var(--dm-black);
}

button,
input {
    font-family: inherit;
}

a {
    text-decoration: none;
}


/* =====================================================
   MAIN
===================================================== */

.dm-signup-page {
    width: 100%;
    /* height: 100vh; */
    /* height: 100dvh; */

    overflow: hidden;

    background: var(--dm-cream);
}


/* =====================================================
   WRAPPER
===================================================== */

.dm-signup-wrapper {
    width: 100%;
    height: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr;
    padding-top: 55px;

    overflow: hidden;

    background: var(--dm-white);

    border: 1px solid #d7cfc3;
}


/* =====================================================
   LEFT VISUAL
===================================================== */

.dm-signup-visual {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #171612;
}


/* =====================================================
   IMAGE
===================================================== */

.dm-signup-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.01);
}


/* =====================================================
   OVERLAY
===================================================== */

.dm-signup-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(10, 10, 8, 0.28) 0%,
            rgba(10, 10, 8, 0.10) 35%,
            rgba(10, 10, 8, 0.70) 100%
        );
}


/* =====================================================
   LEFT LOGO
===================================================== */

.dm-signup-logo {
    position: absolute;

    top: 38px;
    left: 40px;

    z-index: 3;

    display: flex;

    align-items: center;

    gap: 10px;

    color: white;
}


.dm-signup-logo-mark {
    width: 47px;
    height: 47px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.96);

    color: #222;

    font-family: Georgia, serif;

    font-size: 20px;
}


.dm-signup-logo-name {
    font-family: "Manrope", sans-serif;

    font-size: 18px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =====================================================
   LEFT CONTENT
===================================================== */

.dm-signup-visual-content {
    position: absolute;

    left: 55px;
    bottom: 70px;

    z-index: 3;

    max-width: 500px;
}


.dm-signup-visual-label {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 18px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 3px;
}


.dm-signup-visual-label span {
    color: white;

    letter-spacing: 1px;
}


.dm-signup-visual-label i {
    width: 35px;
    height: 1px;

    display: block;

    background: rgba(255, 255, 255, 0.6);
}


.dm-signup-visual-content h2 {
    color: white;

    font-family: "Manrope", sans-serif;

    /*
       SAME AS LOGIN
    */
    font-size: clamp(45px, 4vw, 72px);

    line-height: 0.98;

    font-weight: 600;

    letter-spacing: -3px;

    margin-bottom: 18px;
}


.dm-signup-visual-content h2 em {
    color: #c58a68;

    font-family: Georgia, serif;

    font-weight: 400;

    font-style: italic;
}


.dm-signup-visual-content p {
    max-width: 390px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;

    line-height: 1.6;
}


/* =====================================================
   IMAGE TAG
===================================================== */

.dm-signup-image-tag {
    position: absolute;

    right: 35px;
    bottom: 35px;

    z-index: 4;

    min-width: 145px;

    padding: 18px 22px;

    background: var(--dm-navy);

    color: white;
}


.dm-signup-image-tag span {
    display: block;

    margin-bottom: 7px;

    font-size: 8px;

    letter-spacing: 3px;

    font-weight: 600;

    opacity: 0.7;
}


.dm-signup-image-tag strong {
    font-size: 14px;

    line-height: 1.3;

    font-weight: 500;
}


/* =====================================================
   YEAR
===================================================== */

.dm-signup-year {
    position: absolute;

    right: 30px;
    top: 50%;

    transform:
        translateY(-50%)
        rotate(90deg);

    z-index: 3;

    color: rgba(255, 255, 255, 0.45);

    font-size: 10px;

    letter-spacing: 5px;
}


/* =====================================================
   RIGHT AREA
===================================================== */

.dm-signup-form-area {
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--dm-cream-light);

    padding-top: 100px !important;
    padding: 18px 30px;

    overflow: hidden;
}


/* =====================================================
   FORM CONTAINER
===================================================== */

.dm-signup-form-container {
    padding-top: 20px;

    width: 100%;

    max-width: 470px;
}


/* =====================================================
   MOBILE LOGO
===================================================== */

.dm-signup-mobile-logo {
    display: none;
}


/* =====================================================
   HEADING
===================================================== */

.dm-signup-heading {
    margin-bottom: 20px;
}


.dm-signup-small-label {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 10px;

    color: var(--dm-brown);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 3px;
}


.dm-signup-small-label span {
    width: 7px;
    height: 7px;

    display: block;

    background: var(--dm-brown);

    border-radius: 50%;
}


.dm-signup-heading h1 {
    font-family: "Manrope", sans-serif;

    /*
       SAME AS LOGIN
    */
    font-size: clamp(45px, 5vw, 72px);

    line-height: 0.9;

    letter-spacing: -4px;

    font-weight: 500;

    color: var(--dm-black);

    margin-bottom: 15px;
}


.dm-signup-heading h1 em {
    color: var(--dm-navy);

    font-family: Georgia, serif;

    font-style: italic;

    font-weight: 400;
}


.dm-signup-heading p {
    max-width: 430px;

    color: var(--dm-gray);

    /*
       SAME AS LOGIN
    */
    font-size: 16px;

    line-height: 1.55;
}


/* =====================================================
   FORM
===================================================== */

.dm-signup-form {
    width: 100%;
}


/* =====================================================
   FIELD
===================================================== */

.dm-signup-field {
    margin-bottom: 14px;
}


.dm-signup-field label {
    display: block;

    margin-bottom: 6px;

    color: var(--dm-black);

    /*
       SAME AS LOGIN
    */
    font-size: 16px;

    font-weight: 600;

    letter-spacing: 0.2px;
}


/* =====================================================
   INPUT WRAP
===================================================== */

.dm-signup-input-wrap {
    position: relative;

    width: 100%;
}


.dm-signup-input-wrap > i {
    position: absolute;

    left: 16px;
    top: 50%;

    transform: translateY(-50%);

    color: #88817a;

    /*
       SAME AS LOGIN
    */
    font-size: 16px;

    pointer-events: none;
}


/* =====================================================
   INPUT
===================================================== */

.dm-signup-input-wrap input {
    width: 100%;

    height: 48px;

    padding: 0 45px;

    border: 1px solid var(--dm-border);

    outline: none;

    background: white;

    color: var(--dm-black);

    /*
       SAME AS LOGIN
    */
    font-size: 16px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.dm-signup-input-wrap input::placeholder {
    color: #aaa39b;
}


.dm-signup-input-wrap input:focus {
    border-color: var(--dm-navy);

    box-shadow:
        0 0 0 3px rgba(32, 58, 120, 0.07);
}


/* =====================================================
   PASSWORD TOGGLE
===================================================== */

.dm-signup-password-toggle {
    position: absolute;

    right: 13px;
    top: 50%;

    transform: translateY(-50%);

    border: none;

    background: transparent;

    cursor: pointer;

    color: #88817a;

    padding: 5px;

    transition: 0.25s ease;
}


.dm-signup-password-toggle:hover {
    color: var(--dm-navy);
}


/* =====================================================
   TERMS
===================================================== */

.dm-signup-options {
    margin-top: 2px;

    margin-bottom: 15px;
}


.dm-signup-checkbox {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    cursor: pointer;

    color: var(--dm-gray);

    /*
       SAME AS LOGIN
    */
    font-size: 16px;

    line-height: 1.4;
}


.dm-signup-checkbox input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.dm-signup-checkmark {
    flex-shrink: 0;

    width: 15px;
    height: 15px;

    border: 1px solid #c9c0b5;

    background: white;

    display: flex;

    align-items: center;

    justify-content: center;
}


.dm-signup-checkbox input:checked
+ .dm-signup-checkmark {
    background: var(--dm-navy);

    border-color: var(--dm-navy);
}


.dm-signup-checkbox input:checked
+ .dm-signup-checkmark::after {
    content: "✓";

    color: white;

    font-size: 6px;

    font-weight: 700;
}


.dm-signup-checkbox a {
    color: var(--dm-navy);

    font-weight: 700;
}


/* =====================================================
   SUBMIT
===================================================== */

.dm-signup-submit {
    position: relative;

    width: 100%;

    height: 48px;

    border: none;

    background: var(--dm-navy);

    color: white;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 16px;

    /*
       SAME AS LOGIN
    */
    font-size: 16px;

    font-weight: 700;

    letter-spacing: 1px;

    overflow: hidden;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.dm-signup-submit::before {
    content: "";

    position: absolute;

    inset: 0;

    background: var(--dm-brown);

    transform: translateX(-101%);

    transition: transform 0.35s ease;
}


.dm-signup-submit span,
.dm-signup-submit i {
    position: relative;

    z-index: 1;
}


.dm-signup-submit:hover {
    transform: translateY(-1px);
}


.dm-signup-submit:hover::before {
    transform: translateX(0);
}


.dm-signup-submit i {
    /*
       SAME AS LOGIN
    */
    font-size: 16px;

    transition: transform 0.3s ease;
}


.dm-signup-submit:hover i {
    transform: translate(3px, -3px);
}


/* =====================================================
   LOGIN LINK
===================================================== */

.dm-signup-login {
    margin-top: 14px;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 6px;

    color: var(--dm-gray);

    /*
       SAME AS LOGIN
    */
    font-size: 16px;
}


.dm-signup-login a {
    color: var(--dm-navy);

    font-weight: 700;

    display: inline-flex;

    align-items: center;

    gap: 5px;
}


.dm-signup-login a i {
    font-size: 8px;

    transition: transform 0.25s ease;
}


.dm-signup-login a:hover i {
    transform: translateX(4px);
}


/* =====================================================
   FOOTER
===================================================== */

.dm-signup-footer {
    margin-top: 18px;

    padding-top: 12px;

    border-top: 1px solid #ddd5ca;

    display: flex;

    justify-content: space-between;
    align-items: center;

    color: #99928b;

    font-size: 9px;
}


.dm-signup-footer-links {
    display: flex;

    gap: 15px;
}


.dm-signup-footer a {
    color: #858078;

    transition: 0.25s ease;
}


.dm-signup-footer a:hover {
    color: var(--dm-navy);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .dm-signup-logo {
        left: 28px;
        top: 28px;
    }


    .dm-signup-visual-content {
        left: 35px;
        bottom: 55px;
    }


    .dm-signup-visual-content h2 {
        /*
           SAME AS LOGIN
        */
        font-size: 48px;
    }


    .dm-signup-image-tag {
        display: none;
    }


    .dm-signup-form-area {
        padding: 20px;
    }


    .dm-signup-heading h1 {
        /*
           SAME AS LOGIN
        */
        font-size: 50px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 850px) {

    .dm-signup-page {
        height: auto;

        min-height: 100dvh;

        overflow-y: auto;
    }


    .dm-signup-wrapper {
        min-height: 100dvh;

        display: block;

        border: none;
    }


    /* Hide image */

    .dm-signup-visual {
        display: none;
    }


    /* Form Area */

    .dm-signup-form-area {
        min-height: 100dvh;

        height: auto;

        padding: 25px 22px;

        align-items: flex-start;

        overflow: visible;
    }


    .dm-signup-form-container {
        max-width: 520px;

        margin: 0 auto;
    }


    /* Mobile Logo */

    .dm-signup-mobile-logo {
        display: flex;

        align-items: center;

        gap: 9px;

        margin-bottom: 30px;

        color: var(--dm-black);

        font-family: "Manrope", sans-serif;

        font-size: 15px;

        font-weight: 700;

        letter-spacing: 2px;
    }


    .dm-signup-mobile-mark {
        width: 38px;
        height: 38px;

        display: flex;

        align-items: center;
        justify-content: center;

        background: var(--dm-black);

        color: white;

        font-family: Georgia, serif;

        font-size: 17px;
    }


    /* Heading */

    .dm-signup-heading {
        margin-bottom: 25px;
    }


    .dm-signup-small-label {
        margin-bottom: 10px;
    }


    .dm-signup-heading h1 {
        /*
           SAME AS LOGIN
        */
        font-size: 50px;

        letter-spacing: -3px;

        margin-bottom: 13px;
    }


    .dm-signup-heading p {
        /*
           SAME AS LOGIN
        */
        font-size: 12px;

        line-height: 1.5;
    }


    /* Fields */

    .dm-signup-field {
        margin-bottom: 15px;
    }


    .dm-signup-input-wrap input {
        height: 50px;
    }


    .dm-signup-options {
        margin-bottom: 15px;
    }


    .dm-signup-submit {
        height: 50px;
    }


    /* Login */

    .dm-signup-login {
        margin-top: 14px;
    }


    /* Footer */

    .dm-signup-footer {
        margin-top: 22px;
    }
}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 500px) {

    .dm-signup-form-area {
        padding: 22px 18px;
    }


    .dm-signup-mobile-logo {
        margin-bottom: 25px;
    }


    .dm-signup-heading {
        margin-bottom: 22px;
    }


    .dm-signup-heading h1 {
        /*
           SAME AS LOGIN
        */
        font-size: 46px;

        letter-spacing: -2.5px;
    }


    .dm-signup-heading p {
        /*
           SAME AS LOGIN
        */
        font-size: 12px;
    }


    .dm-signup-field {
        margin-bottom: 13px;
    }


    .dm-signup-field label {
        /*
           SAME AS LOGIN
        */
        font-size: 12px;

        margin-bottom: 5px;
    }


    .dm-signup-input-wrap input {
        height: 47px;

        /*
           SAME AS LOGIN
        */
        font-size: 12px;
    }


    .dm-signup-submit {
        height: 47px;
    }


    .dm-signup-login {
        flex-direction: column;

        gap: 5px;

        /*
           SAME AS LOGIN
        */
        font-size: 12px;
    }


    .dm-signup-footer {
        margin-top: 20px;

        padding-top: 11px;

        flex-direction: row;

        gap: 10px;
    }
}


/* =====================================================
   VERY SHORT DESKTOP SCREENS
===================================================== */

@media (max-height: 650px) and (min-width: 851px) {

    .dm-signup-form-area {
        padding-top: 12px;

        padding-bottom: 12px;
    }


    .dm-signup-heading {
        margin-bottom: 17px;
    }


    .dm-signup-small-label {
        margin-bottom: 7px;
    }


    .dm-signup-heading h1 {
        /*
           SAME AS LOGIN
        */
        font-size: 48px;

        margin-bottom: 10px;
    }


    .dm-signup-heading p {
        /*
           SAME AS LOGIN
        */
        font-size: 12px;
    }


    .dm-signup-field {
        margin-bottom: 10px;
    }


    .dm-signup-field label {
        /*
           SAME AS LOGIN
        */
        font-size: 16px;

        margin-bottom: 6px;
    }


    .dm-signup-input-wrap input {
        height: 44px;
    }


    .dm-signup-options {
        margin-bottom: 10px;
    }


    .dm-signup-submit {
        height: 44px;
    }


    .dm-signup-login {
        margin-top: 10px;
    }


    .dm-signup-footer {
        margin-top: 12px;

        padding-top: 8px;
    }
}