:root {
    --primary-color: #ff8800;
    --primary-hover: #ff9c33;
    --text-color: #374151;
    --bg-card: rgba(241, 241, 241, 0.94);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

/* Container principal */
.container {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Background e overlay */
.background {
    position: absolute;
    inset: 0;
    background: url('../images/login-desktop.svg') center/cover no-repeat;
    z-index: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Layout principal */
.main-content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
}

/* Formulário */
form {
    width: 100%;          /* ocupa toda a largura do card */
    display: flex;
    flex-direction: column;
    gap: 16px;            /* espaço entre os grupos */
    align-items: stretch; /* garante que inputs/botão estiquem */
}

.form-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 90%;
    max-width: 500px;
    background-color: var(--bg-card);
    border-radius: 20px;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.92);
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.form-logo-container img {
    width: 380px;
    height: 42px;
    object-fit: contain;
    position: static;
}

.form-divider {
    width: 100%;
    max-width: 450px;
    border-top: 2px solid #a8acb2;
    margin: 16px 0 24px;
}

.form-group {
    width: 100%;
}

.form-label {
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    color: var(--text-color);
}

.form-input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #f7f7f7;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #2196f3;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.08);
}

.form-input::placeholder {
    color: #9ca3af;
}

.submit-button {
    width: 100%;
    height: 52px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    border: none;
}

.submit-button i {
    margin-left: 10px;
    font-size: 1.2em;
    vertical-align: middle;
}

.submit-button:hover {
    background: var(--primary-hover);
}

.submit-button:focus {
    outline: 3px solid #ffbb33;
    outline-offset: 2px;
}

/* Texto de ajuda */
.signup-section {
    width: 100%;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.signup-title {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    font-weight: 500;
}

.signup-link {
    text-align: center;
    color: #2196f3;
    text-decoration: underline;
    font-size: 12px;
}

/* Seção de marketing */
.marketing-section {
    display: none;
    width: 50%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 48px 60px;
    color: white;
}

.marketing-content {
    max-width: 600px;
}

.marketing-title {
    font-size: 1.2rem;
    margin-bottom: 70px;
    line-height: 1.2;
    text-align: right;
    font-weight: 390;
}

.marketing-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    text-align: right;
    font-weight: 300;
}

.logo-section {
    margin-bottom: 70px;
}

.logo-container {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.logo-icon {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
}

/* Logo INSPIREDX */
.inspiredx-logo {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 20;
}

.inspiredx-logo img {
    width: 100%;
    max-width: 360px;
    height: auto;
    margin-bottom: 4px;
    transform: translateX(10%);
}

.inspiredx-logo p {
    font-size: 12px;
    color: #000;
    text-align: center;
    width: 100%; 
    max-width: 360px;
    margin: 0;
}

.alert {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 16px;
    text-align: center;
    box-sizing: border-box;
}

.alert-danger {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.alert-info {
    background-color: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}


/* Responsivo */
@media (max-width: 767px) {
    .form-logo-container img {
        width: 380px;
        height: 30px;
        object-fit: contain;
        position: static;
    }

    .inspiredx-logo {
        position: absolute;
        bottom: 32px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        z-index: 20;
        width: 250px;
    }

    .inspiredx-logo img {
        width: 100%;
        max-width: 360px;
        height: auto;
        margin-bottom: 4px;
        transform: translateX(5%);
    }

    .inspiredx-logo p {
        font-size: 10px;
        transform: translateX(-3%);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .main-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: unset;
    }
    .container {
        position: relative;
        min-height: 100vh;
    }
    .form-section {
        width: 100%;
        max-width: 500px;
        order: 1;
        padding: 24px 0 48px;
        margin: 0 auto;
    }
    .marketing-section {
        display: flex;
        width: 100%;
        order: 0;
        justify-content: center;
        align-items: center;
        padding: 100px 24px 90px 250px;
        text-align: center;
    }
    .marketing-title {
        margin-bottom: 50px;
    }
    .marketing-subtitle {
        font-size: 1.4rem;
    }
    .logo-section {
        margin-bottom: 50px;
        max-width: none;
    }
    .logo-icon {
        max-width: none;
        width: 1000px;
        height: 100px;
    }
    .inspiredx-logo {
        position: absolute;
        left: 50%;
        bottom: 24px;
        transform: translateX(-50%);
        margin-top: 0;
    }
}

@media (min-width: 1024px) {
    .form-section {
        width: 50%;
        padding: 48px;
    }

    .marketing-section {
        display: flex;
    }

    .marketing-title {
        font-size: 2.25rem;
    }

    .inspiredx-logo p {
        font-size: 11px;
    }
}

@media (min-width: 768px) and (max-width: 834px) {
    .main-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: unset;
        padding: 0 8px;
    }
    .form-section {
        width: 100%;
        max-width: 380px;
        padding: 24px 0 32px;
        margin: 0 auto;
    }
    .login-card {
        width: 100%;
        max-width: 380px;
        padding: 24px 12px;
    }
    .form-logo-container img {
        width: 180px;
        height: 28px;
    }
    .form-divider {
        max-width: 180px;
        margin: 10px 0 16px;
    }
    .inspiredx-logo {
        width: 160px;
        left: 50%;
        bottom: 12px;
        transform: translateX(-50%);
    }
    .inspiredx-logo img {
        max-width: 160px;
    }
    .inspiredx-logo p {
        font-size: 9px;
    }

    .marketing-section {
        display: flex;
        width: 100%;
        order: 0;
        justify-content: center;
        align-items: center;
        padding: 100px 24px 50px 100px;
        text-align: center;
    }
    .marketing-title {
        margin-bottom: 30px;
    }
    .marketing-subtitle {
        font-size: 1.4rem;
    }
    .logo-section {
        margin-bottom: 30px;
        max-width: none;
    }

    .logo-icon {
        max-width: none;
        width: 660px;
        height: 100px;
    }
}

@media (min-width: 2000px) {
    .main-content {
        justify-content: space-between; /* Alinha as seções nas extremidades */
        align-items: center;
        min-height: 100vh;
        padding: 0 10vw 5vh 10vw; /* Espaço lateral igual */
        gap: 0;
    }
    .form-section {
        flex: 0 0 900px;
        max-width: 900px;
        padding: 120px 0;
        display: flex;
        justify-content: center;
    }
    .login-card {
        max-width: 810px;
        padding: 60px 60px;
        font-size: 2rem;
        border-radius: 32px;   /* opcional: borda mais arredondada */
    }
    .marketing-section {
        max-width: 1800px;
        padding: 120px 0 120px 0;
        font-size: 2.2rem;
        align-items: flex-end; /* Opcional: força para direita */
    }
    .marketing-title {
        font-size: 4.2rem;
        margin-bottom: 30px;
    }
    .marketing-subtitle {
        font-size: 2.8rem;
    }
    .marketing-content {
        max-width: 1200px;
    }

    .form-section {
        max-width: 900px;
        padding: 120px 0;
    }

    .logo-section {
        margin-bottom: 30px;
        max-width: none;
    }

    .logo-icon {
        max-width: none;
        width: 1500px;
        height: 500px;
    }

    .form-logo-container img {
        width: 700px;
        height: 120px;
    }

    .form-divider {
        max-width: 700px;
        margin: 48px 0 60px;
    }

    .form-label {
        font-size: 2rem;
    }

    .form-input {
        height: 110px;
        font-size: 2rem;
        padding: 0 32px;
    }

    .submit-button {
        height: 110px;
        font-size: 2rem;
    }

    .signup-title,
    .signup-link {
        font-size: 1.7rem;
    }

    .inspiredx-logo {
        max-width: 700px;
        bottom: 60px;
    }

    .inspiredx-logo img {
        max-width: 700px;
    }
    .inspiredx-logo p {
        font-size: 20px;
    }
}


