/* Variáveis de cores e estilos */
:root {
    --primary-color: #004080;
    /* Azul escuro da Univap */
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --text-color: #333;
    --text-light: #666;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--light-gray);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    padding: 0;
    margin: 0;
    box-shadow: none;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    max-height: 60px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.02);
}

/* Container e layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    flex: 1;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin-top: 90px;
    min-height: calc(100vh - 110px);
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    height: 100%;
    background: white;
    overflow: hidden;
    opacity: 0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px var(--shadow-color);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.card-text {
    color: var(--text-light);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

/* Botões */
.btn {
    border-radius: 25px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn-custom {
    width: 100%;
    margin: 10px 0;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-information {
    width: 60%;
    font-size: 15px;
    padding: 10px 20px;
}

/* Formulários */
.form-control {
    border-radius: 25px;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0 10px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--secondary-color);
}

.password-toggle i {
    font-size: 1.2rem;
}

.password-input-group {
    position: relative;
}

.password-input-group .form-control {
    padding-right: 45px;
}

/* Ícones e imagens */
.document-icon {
    max-width: 90px;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.document-icon:hover {
    transform: scale(1.1);
}



/* Tooltips */
.tooltip {
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
    width: 100%;
    position: relative;
    left: 0;
    right: 0;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

footer p {
    margin-bottom: 0;
}

/* Responsividade */
@media (max-width: 768px) {

    .btn-custom,
    .btn-information {
        width: 100%;
    }

    .container {
        padding: 0 15px;
    }

    .card-body {
        padding: 1.5rem;
    }
}

/* Títulos e textos */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.text-muted {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--text-light) !important;
}