@media (max-width: 900px) {
    .auth-container > div {
        flex-direction: column !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        min-height: unset !important;
    }
    .auth-box {
        max-width: 100% !important;
    }
    .register-context-text {
        max-width: 100% !important;
        text-align: center;
        margin: 0 0 1.5rem 0;
    }
}
/* Auth Styles CSS */
.fade-slide-out {
    animation: fadeSlideOut 0.8s forwards ease;
}

.fade-slide-in {
    animation: fadeSlideIn 0.8s forwards ease;
}

@keyframes fadeSlideOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-card {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

:root {
    --primary: #000000;
    --primary-dark: #1a1a1a;
    --secondary: #FFD700;
    --text: #333333;
    --light: #ffffff;
    --dark: #212121;
    --success: #FFD700;
    --warning: #FFD700;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 300;
}

header {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    /* espaço entre logo e texto */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--secondary);
}


.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff 60%, #fae880 100%);
}

.register-flex {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    width: 100%;
    max-width: 900px;
    margin: 4rem auto 0 auto;
    align-items: stretch;
    justify-content: center;
}

.register-form-col {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-context-col {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


.register-context-text {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
    min-height: 120px;
    max-width: 350px;
    width: 100%;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

.auth-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px #0002;
    padding: 3rem 2.5rem 2rem 2.5rem;
    max-width: 400px;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeSlideIn 0.8s;
}

.auth-box h2, .auth-box h4 {
    margin-bottom: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
}

.auth-box form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    font-size: 1rem;
}

.auth-box label {
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.auth-box input[type="text"],
.auth-box input[type="email"],
.auth-box input[type="password"],
.auth-box input[type="url"],
.auth-box textarea,
.auth-box select {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: #f9f9f9;
    transition: border 0.2s;
    margin-bottom: 0.5rem;
}

.auth-box input:focus,
.auth-box textarea:focus,
.auth-box select:focus {
    border: 1.5px solid var(--secondary);
    outline: none;
}

.auth-box button {
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.9rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
    letter-spacing: 0.2px;
}

.auth-box button:hover {
    background: #e6c200;
}

.auth-box .auth-links {
    margin-top: 1.5rem;
    font-size: 0.98rem;
}

.auth-box .auth-links a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.2s;
}

.auth-box .auth-links a:hover {
    color: var(--secondary);
}

/* Custom checkbox and radio styles */
.auth-box .form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.auth-box .form-check-input {
    accent-color: var(--secondary);
    width: 1.1rem;
    height: 1.1rem;
}
.auth-box .form-check-label {
    font-size: 0.98rem;
    color: var(--primary-dark);
    font-weight: 500;
}

/* Animation classes */
.fade-slide-out {
    animation: fadeSlideOut 0.8s forwards ease;
}
.fade-slide-in {
    animation: fadeSlideIn 0.8s forwards ease;
}

@media (max-width: 900px) {
    .register-flex {
        flex-direction: column;
        gap: 2rem;
        max-width: 100%;
    }
    .register-form-col, .register-context-col {
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .auth-box, .register-context-text {
        max-width: 100%;
    }
}

.auth-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px #0002;
    padding: 3rem 2.5rem 2rem 2.5rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.auth-box h2 {
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 600;
}

.auth-box form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.auth-box input[type="email"],
.auth-box input[type="password"] {
    padding: 0.9rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: #f9f9f9;
    transition: border 0.2s;
}

.auth-box input:focus {
    border: 1.5px solid var(--secondary);
    outline: none;
}

.auth-box button {
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
}

.auth-box button:hover {
    background: #e6c200;
}

.auth-box .auth-links {
    margin-top: 1.5rem;
    font-size: 0.98rem;
}

.auth-box .auth-links a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.2s;
}

.auth-box .auth-links a:hover {
    color: var(--secondary);
}

@media (max-width: 600px) {
    .auth-box {
        padding: 2rem 1rem;
    }
}