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

body {
    font-family: Arial, sans-serif;
    background-color: #363A3D;
    color: #DDDDDD;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

/* Container Styles */
.create-account-container, .login-container, .recover-container {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.form-container {
    width: 520px;
    padding: 40px 60px;
    background-color: #262626;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    z-index: 2;
}

.login-form-container {
    padding-bottom: 30px;
    height: auto;
    min-height: 431px;
}

.recover-form-container {
    padding-top: 50px;
    padding-bottom: 50px;
    height: auto;
    min-height: 388px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo Styles */
.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-image {
    width: 220px;
    height: 57px;
    background-image: url('../images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Profile Image */
.profile-image {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.image-container {
    width: 64px;
    height: 64px;
    background-color: #009AB2; /* Teal blue for login/register */
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('profile.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.9;
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 154, 178, 0.3);
    mix-blend-mode: overlay;
}

/* User Info */
.user-info {
    text-align: center;
    margin-bottom: 30px;
}

.user-name {
    color: #DDDDDD;
    font-size: 13px;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    margin-bottom: 5px;
    text-align: center !important;
}

.user-status {
    color: #999999;
    font-size: 13px;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    text-align: center;
}

/* Form Title */
.form-title {
    text-align: center;
    margin-bottom: 30px;
    color: #009AB2; /* Teal blue for login/register */
}

.form-title h2 {
    font-size: 24px;
    font-weight: 600;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #DDDDDD;
    font-size: 14px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #363A3D;
    border-radius: 25px;
    height: 32px;
    overflow: hidden;
}

.icon-container {
    width: 30px;
    height: 30px;
    background-color: #009AB2; /* Teal blue for login/register */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #262626;
}

.icon-container span {
    font-size: 16px;
}

.input-with-icon input {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 15px;
    color: #999999;
    font-size: 14px;
}

.input-with-icon input:focus {
    outline: none;
}

.input-with-icon input::placeholder {
    color: #666666;
}

.eye-icon {
    position: absolute;
    right: 0;
    width: 30px;
    height: 30px;
    background-color: #009AB2; /* Teal blue for login/register */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.eye-icon span {
    color: #262626;
    font-size: 16px;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    border: 0.5px solid #DDDDDD;
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    position: relative;
}

.remember-me input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #009AB2; /* Teal blue for login/register */
    font-size: 12px;
}

.remember-me label {
    color: #DDDDDD;
    font-size: 14px;
}

.forgot-password a, .forgot-password-link a {
    color: #009AB2; /* Teal blue for login/register */
    text-decoration: none;
    font-size: 13px;
}

.forgot-password a:hover, .forgot-password-link a:hover {
    text-decoration: underline;
}

.forgot-password-link {
    text-align: right;
    margin: 10px 0 30px;
    width: 100%;
}

/* Button Styles */
.form-buttons, .action-buttons {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    width: 100%;
}

.action-buttons {
    flex-direction: column;
    gap: 10px;
}

.btn {
    width: 195px;
    height: 38px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    padding: 0 15px;
}

.btn-full {
    width: 400px;
    max-width: 100%;
}

.recover-form .btn-full {
    width: 100%;
}

a.btn {
    text-align: center;
    line-height: 38px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    background-color: #009AB2; /* Teal blue for login/register */
    color: white;
    border: none;
    border-radius: 25px;
}

.btn-primary:hover {
    background-color: #00859a;
}

.btn-outline {
    background: transparent;
    color: #009AB2; /* Teal blue for login/register */
    border: 1px solid #009AB2; /* Teal blue for login/register */
    border-radius: 25px;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-outline:hover {
    background-color: rgba(0, 154, 178, 0.1);
}

/* Login Link */
.login-link {
    text-align: center;
    margin-top: 20px;
}

.login-link p {
    color: #DDDDDD;
    font-size: 14px;
}

.login-link a {
    color: #009AB2; /* Teal blue for login/register */
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Login Page Specific Styles */
.login-form .form-group:last-of-type {
    margin-bottom: 10px;
}

/* Recovery Form Specific Styles */
.recover-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recover-form .action-buttons {
    margin-top: 0;
}

/* Background Elements */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.vector-1 {
    position: absolute;
    bottom: 220px;
    left: 60px;
    width: 398px;
    height: 581px;
    background-image: url('../images/vetores_esquerdo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
}

.vector-2 {
    display: none;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .form-container {
        width: 90%;
        padding: 30px 20px;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        width: 100%;
        margin: 30px 0;
    }
    
    .btn {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 15px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: 45px !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
        text-align: center !important;
        border-radius: 25px !important;
    }
    
    .button-login, .button-register {
        width: 100% !important;
        max-width: none !important;
        height: 45px !important;
        margin: 0 !important;
        padding: 0 15px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
        text-align: center !important;
        border-radius: 25px !important;
    }
    
    /* Garantir largura completa para todos os containers de botões */
    .login-form .form-buttons,
    .create-account-container .form-buttons {
        align-items: stretch !important;
        justify-content: stretch !important;
        width: 100% !important;
        margin: 30px 0 !important;
    }
    
    /* Garantir que botões dentro dos containers ocupem 100% */
    .login-form .form-buttons .btn,
    .create-account-container .form-buttons .btn,
    .login-form .form-buttons .button-login,
    .login-form .form-buttons .button-register,
    .create-account-container .form-buttons .button-login,
    .create-account-container .form-buttons .button-register {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    .vector-1 {
        display: none;
    }
}

/* Dashboard Styles are now in custom.css */

/* Adicionando estilos para alertas */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 14px;
}

.alert-error {
    background-color: rgba(255, 0, 0, 0.1);
    border-left: 4px solid #ff0000;
    color: #ff0000;
}

.alert-success {
    background-color: rgba(0, 128, 0, 0.1);
    border-left: 4px solid #008000;
    color: #008000;
}

/* Estilo para erros em campos de formulário */
.field-error {
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
    padding-left: 40px;
}

/* Estilos para o perfil */
.profile-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.profile-card {
    background-color: #262626;
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    min-width: 300px;
}

.profile-card-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #363A3D;
    padding-bottom: 10px;
}

.profile-card-header h2 {
    color: #DB9020;
    font-size: 18px;
}

.page-header {
    margin-bottom: 20px;
}

.page-header h1 {
    color: #DDDDDD;
    font-size: 24px;
}

.container {
    padding: 20px;
    width: 100%;
}

/* Estilos para select */
.input-with-icon select {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 15px;
    color: #999999;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23999999" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 35px;
}

.input-with-icon select:focus {
    outline: none;
}

/* Estilos para textarea */
textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #363A3D;
    border-radius: 5px;
    background-color: transparent;
    color: #999999;
    font-size: 14px;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: #DB9020;
}

/* Estilos específicos para os botões de login e register */
.button-login, .button-register {
    width: 195px;
    height: 38px;
    border-radius: 25px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
    margin: 0;
}

.button-register {
    background-color: #009AB2 !important;
    border: none !important;
    color: white !important;
}

.button-register:hover {
    background-color: #00859a !important;
}

/* Pre-login Styles */
.pre-login-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.pre-login-user {
    text-align: center;
    margin-bottom: 25px;
    padding: 10px 0;
}

.pre-login-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #009AB2;
    background-color: #363A3D;
}

.pre-login-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.pre-login-info {
    margin-bottom: 0;
}

.pre-login-name {
    color: #DDDDDD;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    font-family: 'Roboto', Arial, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pre-login-subtitle {
    color: #999999;
    font-size: 13px;
    margin-bottom: 0;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
}

.pre-login-form {
    width: 100%;
}

.pre-login-form .form-group {
    margin-bottom: 15px;
}

.pre-login-options {
    text-align: right;
    margin-bottom: 20px;
}

.pre-login-options .forgot-password a {
    color: #009AB2;
    text-decoration: none;
    font-size: 13px;
    font-family: 'Roboto', Arial, sans-serif;
}

.pre-login-options .forgot-password a:hover {
    text-decoration: underline;
}

.pre-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    align-items: stretch;
    width: 100%;
}

.pre-login-buttons .btn {
    width: 100%;
    max-width: 400px;
    height: 40px;
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
    border-radius: 25px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.pre-login-buttons .btn-primary {
    background-color: #009AB2;
    color: white;
    border: none;
    margin-bottom: 0;
    border-radius: 25px !important;
}

.pre-login-buttons .btn-primary:hover {
    background-color: #00859a;
}

.pre-login-buttons .btn-outline {
    background: transparent;
    color: #009AB2;
    border: 2px solid #009AB2;
    text-decoration: none;
    box-sizing: border-box;
    border-radius: 25px !important;
    line-height: 1;
}

.pre-login-buttons .btn-outline:hover {
    background-color: rgba(0, 154, 178, 0.1);
}

/* Ajustes para o container de login quando em pre-login */
.login-container .form-container.login-form-container {
    min-height: auto;
    padding: 35px 60px 40px;
}

/* Remove estilos antigos que não são mais necessários */
.switch-account-link {
    display: none;
}

.switch-account-section {
    display: none;
}

.pre-login-email {
    display: none;
}

/* Responsividade para pre-login */
@media screen and (max-width: 768px) {
    .pre-login-user {
        margin-bottom: 20px;
        padding: 8px 0;
    }
    
    .pre-login-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 12px;
    }
    
    .pre-login-name {
        font-size: 15px;
        margin-bottom: 4px;
    }
    
    .pre-login-subtitle {
        font-size: 12px;
    }
    
    .pre-login-buttons {
        gap: 15px;
        margin-top: 18px;
        align-items: stretch !important;
        width: 100% !important;
    }
    
    .pre-login-buttons .btn {
        height: 45px !important;
        font-size: 16px !important;
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
        text-align: center !important;
        border-radius: 25px !important;
    }
    
    .pre-login-options {
        margin-bottom: 18px;
    }
    
    .login-container .form-container.login-form-container {
        padding: 25px 40px 30px;
    }
} 