﻿.terms-container {
    margin: 0.5rem 0;
}

.terms-text {
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: var(--muted-foreground);
    margin: 0;
}

.terms-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.terms-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Container */
._container {
    --primary: #10b981;
    --primary-hover: #059669;
    --background: #ffffff;
    --foreground: #09090b;
    --muted-foreground: #71717a;
    --border: #e4e4e7;
    --input: #fafafa;
    --secondary: #f4f4f5;
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    overflow-y: auto;
    background-color: var(--background);
    display: flex;
    justify-content: center;
}

/* Left Side - Image */
.image-side {
    display: none;
    position: sticky;
    overflow: hidden;
    background-color: #18181b;
    left: 0;
    height: 100vh;
    top: 0;
}

    .image-side img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.image-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
}

.top-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.logo-box {
    padding: 0.625rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
}

    .logo-box svg {
        width: 1.75rem;
        height: 1.75rem;
        stroke: white;
    }

.top-logo h1 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 600;
    margin: 0;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, .8));
}

.bottom-content {
    color: white;
    max-width: 28rem;
}

    .bottom-content h2 {
        font-size: 2.25rem;
        line-height: 2.5rem;
        margin-bottom: 1rem;
        line-height: 1.25;
        font-weight: 700;
        filter: drop-shadow(1px 1px 6px rgba(0, 0, 0, .7));
    }

    .bottom-content p {
        font-size: 1.125rem;
        line-height: 1.75rem;
        color: rgba(255, 255, 255, 0.9);
        filter: drop-shadow(1px 1px 6px rgba(0, 0, 0, .7));
    }

/* Right Side - Form */
.form-side {
    position: relative;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
}

.form-container {
    width: 100%;
}

/* Mobile Logo */
.mobile-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
}

.mobile-logo-box {
    padding: 0.75rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
}

    .mobile-logo-box svg {
        width: 2rem;
        height: 2rem;
        stroke: white;
    }

.mobile-logo h1 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 600;
}

/* Welcome Section */
.welcome {
    margin-bottom: 2.5rem;
}

    .welcome h2 {
        font-size: 2.25rem;
        line-height: 2.5rem;
        margin-bottom: 0.75rem;
        font-weight: 700;
    }

    .welcome p {
        color: var(--muted-foreground);
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

/* Form */
.login-form {
    display: flex !important;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

label {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: var(--foreground);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.checkbox {
    width: 1rem;
    height: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 0;
}

.checkbox.checked {
    background: #62b585;
    border-color: #62b585;
}

.checkbox svg {
    width: 12px;
    height: 12px;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    opacity: 0;
}

.checkbox.checked svg {
    opacity: 1;
}

.forgot-password {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: inherit;
    text-decoration: none;
}

    .forgot-password:hover {
        color: var(--primary-hover);
    }

.email-inp,
.pass-inp {
    height: 3rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5rem;
    border: 2px solid var(--border);
    border-radius: 0.375rem;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
    background-color: white;
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: var(--primary);
    outline: none;
}

input::placeholder {
    color: #a1a1aa;
}

/* Button */
.btn-primary {
    width: 100%;
    height: 3rem;
    margin-top: 1rem;
    margin-bottom: .5rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    color: white;
    background-color: var(--primary);
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.25), 0 4px 6px -2px rgba(16, 185, 129, 0.15);
    transition: all 0.2s ease;
    font-family: inherit;
}

    .btn-primary:hover {
        background-color: var(--primary-hover);
        box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.3), 0 10px 10px -5px rgba(16, 185, 129, 0.2);
    }

/* Divider */
.divider {
    position: relative;
    margin: 2rem 0;
}

.divider-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

    .divider-line div {
        width: 100%;
        border-top: 1px solid var(--border);
    }

.divider-text {
    position: relative;
    display: flex;
    justify-content: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

    .divider-text span {
        padding: 0 1rem;
        background-color: var(--background);
        color: var(--muted-foreground);
    }

/* Social Buttons */
/*.social-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}*/

.btn-outline {
    height: 3rem;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    color: var(--foreground);
    background-color: white;
    border: 2px solid var(--border);
    border-radius: 0.375rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-outline:hover {
    border-color: rgba(16, 185, 129, 0.5);
    background-color: rgba(244, 244, 245, 0.5);
}

.btn-outline svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Footer */
.footer {
    margin-top: 2.5rem;
    padding-bottom: 1rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--muted-foreground);
}

.footer a {
    color: var(--primary);
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-hover);
}

/* Responsive */
@media (min-width: 1024px) {
    ._container {
        justify-content: right;
        align-items: center;
    }

    .form-side {
        align-items: center;
        width: 50%;
        max-width: unset;
    }

    .form-container {
        max-width: 28rem;
    }

    .image-side {
        display: flex;
        width: 50%;
    }

    .mobile-logo {
        display: none;
    }
}

@media only screen and (max-height: 740px) and (min-width: 1024px) {
    ._container {
        align-items: start;
    }
}

.hide {
    display: flex;
}