/* Global Styles */
* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main Layout */
.main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-grow: 1;
}

.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    padding-bottom: 32px;
    margin-top: 52px;
    max-width: 935px;
    gap: 20px;
}

/* Phone Image Section (Hidden on Mobile) */
.phone-image-container {
    display: none;
}

.phone-screenshot {
    height: 450px;
    margin-left: -55px;
    width: auto;
    object-fit: fill;
    border: 0;
}

/* Forms Section */
.forms-container {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    padding: 10px 0;
}

.forms-container > i {
    align-self: center;
    margin: 24px 0 0 0;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 50px;
}

.login-form .input-container {
    margin-bottom: 6px;
}

.login-form input {
    width: 70%;
    margin-left: 45px;
    height: 36px;
    padding: 8px 10px;
    background-color: #fafafa;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    font-size: 12px;
    line-height: 16px;
    color: #262626;
}

.login-form input::placeholder {
    color: #8e8e8e;
    font-size: 12px;
}

.login-form input:focus {
    outline: none;
    border-color: #a8a8a8;
    background-color: #fff;
}

.login-button {
     width: 70%;
    margin-left: 45px;
    height: 30px;
    background-color: #0095f6;
    color: white;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    border-radius: 4px;
    padding: 0;
    margin-top: 8px;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.login-button:hover,
.login-button:focus {
    opacity: 1;
}

/* OR Separator */
.separator {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 14px 50px 22px 50px;
}

.separator .line {
    height: 1px;
    background-color: #dbdbdb;
    flex-grow: 1;
}

.separator .text {
    padding: 0 18px;
    font-size: 12px;
    font-weight: 600;
    color: #8e8e8e;
}

/* Facebook Login */
.facebook-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 16px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #0095f6;
    text-decoration: none;
    transition: color 0.2s;
}

.facebook-login:hover {
    color: #1877f2;
}

.facebook-login svg {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: white;
    padding: 0.125rem;
}

/* Forgot Password */
.forgot-password {
    color: #00376b;
    font-size: 12px;
    font-weight: 400;
    margin: 12px 50px 0 50px;
    text-align: center;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: #000;
}

/* Signup Box */
.signup-box {
    margin: 32px 50px 44px 50px;
    text-align: center;
    font-size: 14px;
    color: #8e8e8e;
    border-top: 1px solid #dbdbdb;
    padding-top: 20px;
}

.signup-box a {
    font-weight: 600;
    color: #0095f6;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.2s;
}

.signup-box a:hover {
    color: #1877f2;
}

/* Footer */
.page-footer {
    padding: 32px;
    text-align: center;
    font-size: 12px;
    color: #8e8e8e;
    margin-top: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: text-decoration 0.2s;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 12px;
    color: #8e8e8e;
}

/* Desktop Responsive */
@media (min-width: 768px) {
    .content-wrapper {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
        padding: 0;
    }
    .phone-image-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-grow: 1;
        margin-right: -20px;
    }
    .forms-container {
        flex-grow: 0;
        margin-top: 0;
    }
    .signup-box {
        margin: 0 0 0 50px;
        border-top: 1px solid #dbdbdb;
        padding: 20px 50px 44px 50px;
    }
}