:root {
    --primary-dark: #0a3a6a;
    --primary: #0b5394;
    --primary-light: #e1f0ff;
    --text: #333;
    --text-light: #777;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --principal: #0C5395;
    --fundo-form: #ffffff;
}

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

body {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e8f0fe;
    color: var(--text);
    padding-top: 80px;
    line-height: 1.6;
}

/* Header */
.header-top {
    background: linear-gradient(to top, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-top-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top h1 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Main Content */
.main-container {
    width: 90%;
    max-width: 500px;
    margin: 3rem auto;
    padding: 2rem 0;
}

.password-container {
    background: var(--fundo-form);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 0 25px rgba(12, 83, 149, 0.25);
    text-align: center;
}

h1 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.password-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.password-text {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.form-group {
    margin-bottom: 1.8rem;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9fbfd;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 83, 148, 0.1);
    background-color: var(--white);
}

.submit-btn {
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(11, 83, 148, 0.3);
}

.login-link {
    display: block;
    margin-top: 2rem;
    text-align: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

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

/* Footer */
footer {
    background: linear-gradient(to top, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-link:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.footer-link i {
    font-size: 1.2rem;
}

.footer-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text p {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-top-container,
    .main-container,
    .footer-container {
        width: 92%;
    }

    .password-container {
        padding: 2rem 1.5rem;
    }
}
