* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: row;
}

.sign-up,
.logo-background {
    width: 50%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    contain: paint;
}

.sign-up {
    display: flex;
    flex-direction: column;
}

.title {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100px;
    gap: 10px;
}

.title p,
.title h1 {
    color: #22263f;
}

.title span {
    border: 1px solid #22263f;
    border-radius: 10px;
}

.logo-background {
    width: 50%;
    height: 100vh;
    background-color: #6CA651; /* Dark background matching main page */
    position: relative;
    overflow: hidden;
    contain: paint;
}

.logo-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.02) 20%,
            transparent 30%);
    pointer-events: none;
}

.logo-background svg {
    position: absolute;
    top: 70%;
    left: 70%;
    width: 90%;
    height: 90%;
    opacity: .5;
    pointer-events: none;
    transform: translate(-50%, -50%) translateZ(0);
    will-change: transform;
}

.logo-background svg path {
    fill: #d4ff00 !important; /* Greenish matching main page accent */
}

.sign-up {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9ff;
}

#sign-up-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 50%;
}

#sign-up-form * {
    width: 100%;
}

.field {
    position: relative;
    width: 100%;
}

.field input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.field label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #626262;
    pointer-events: none;
    transition: 0.2s ease;
    background: #f8f9ff;
    padding: 0 4px;
    background-color: transparent;
}

.field label span {
    color: red;
}

.field input:focus+label,
.field input:not(:placeholder-shown)+label {
    top: 10px;
    font-size: 12px;
}

.field input:focus {
    outline: none;
}

#sign-up-form button {
    padding: 15px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    color: white;
    background: #ccc;
    cursor: not-allowed;
    transition: background 0.2s ease;
}

#sign-up-form button.active {
    background: #000; /* Matching main page primary */
    cursor: pointer;
}

#sign-up-form button.active:hover {
    background: #333;
}

@media (max-width: 900px) {
    body {
        flex-direction: column;
    }

    .sign-up, .logo-background {
        width: 100%;
    }

    .logo-background {
        display: none;
    }

    .sign-up {
        height: 100vh;
        padding: 20px;
    }

    #sign-up-form {
        width: 90%;
    }

    .title {
        width: 90%;
        text-align: center;
        align-items: center;
        margin-bottom: 20px;
    }
}
