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

html, body {
    padding: 0;
    margin: 0;
    min-width: 320px;
    align-items: center;
}

body {
    background: linear-gradient(135deg, #000000 0%, #080038 100%);
    font-family: "Inter", "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

a {
    color: #00a8e8;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #fff;
}

label {
    cursor: pointer;
    color: #fff;
}

h1,
h2,
h3,
h4 {
    font-weight: 500;
    color: #fff;
}

.section {
    margin-bottom: 30px;
}

/* Campos de entrada */
input[type="text"], 
input[type="email"], 
input[type="password"], 
select {
    padding: 14px 18px;
    border: 2px solid #00a8e8;
    border-radius: 10px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1em;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 168, 232, 0.1);
}

input:focus {
    border-color: #023582;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

input:focus::placeholder {
    color: transparent;
}

input[disabled] {
    opacity: 0.5;
}

/* Utilitários */
.center {
    text-align: center;
}

.right {
    text-align: right;
}

.error {
    color: #ff4444;
}

/* Botões */
.button {
    background: linear-gradient(135deg, #023582 0%, #00a8e8 100%);
    padding: 14px 32px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    color: #fff;
    display: inline-block;
    min-width: 150px;
    font-size: 1.1em;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(2, 53, 130, 0.3);
}

.button:hover {
    background: linear-gradient(135deg, #00a8e8 0%, #023582 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 53, 130, 0.4);
    color: #fff;
}

.button:active {
    transform: translateY(0);
}

.button.button-outline {
    background: transparent;
    border: 2px solid #00a8e8;
    color: #00a8e8;
}

.button.button-outline:hover {
    border-color: #023582;
    background-color: rgba(2, 53, 130, 0.1);
    color: #fff;
}

/* Container principal */
.container {
    margin: 40px auto 15px auto;
    max-width: 500px;
    width: 100%;
}

.wrap {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 25px;
}

/* Header */
.header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.header .logo img {
    width: 350px;
    max-width: 380px;
    margin-bottom: 0px;
}

/* Seção de cancelar tudo */
.unsub-all {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Rows e layout */
.row {
    margin-bottom: 20px;
}

.lists {
    list-style-type: none;
    padding: 0;
}

.lists li {
    margin: 0 0 8px 0;    
}

.lists .description {
    margin: 0 0 12px 0;
    font-size: 0.9em;
    line-height: 1.4;
    color: #aaa;
    margin-left: 25px;
}

.form .nonce {
    display: none;
}

.form .captcha {
    margin-top: 25px;
}

/* Archive */
.archive {
    list-style-type: none;
    margin: 20px 0 0 0;
    padding: 0;
}

.archive .date {
    display: block;
    color: #aaa;
    font-size: 0.9em;
}

.archive li {
    margin-bottom: 12px;
}

.feed {
    margin-right: 12px;
}

/* Home options */
.home-options {
    margin-top: 25px;
}

.home-options a {
    margin: 0 6px;
}

/* Pagination */
.pagination {
    margin-top: 25px;
    text-align: center;
}

.pg-page {
    display: inline-block;
    padding: 0 8px;
    text-decoration: none;
    color: #00a8e8;
}

.pg-page.pg-selected {
    text-decoration: underline;
    font-weight: bold;
    color: #fff;
}

/* Login */
.login .submit {
    margin-top: 15px;
}

.login button {
    width: 100%;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.login button img {
    max-width: 22px;
    margin-right: 10px;
}

#btn-back {
    display: none;
}

/* Footer */
footer.container {
    margin-top: 12px;
    text-align: center;
    color: #aaa;
    font-size: 0.9em;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 500px;
}

footer a {
    color: #aaa;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

/* Classes específicas para títulos e textos */
.main-title {
    font-size: 2.2rem;
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.main-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.subtitle {
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
    color: #fff;
    font-weight: 500;
    text-align: center;
}

.intro-message {
    font-size: 1rem;
    margin-bottom: 25px;
    color: #aaa;
    line-height: 1.7;
    text-align: center;
}

.email-form {
    margin: 20px 0;
}

.email-label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    font-weight: 500;
    color: #fff;
    font-size: 1rem;
}

.text-input {
    padding: 14px 16px;
    border: 2px solid #00a8e8;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.text-input::placeholder {
    color: #888;
}

/* Responsividade */
@media screen and (max-width: 650px) {
    body {
        padding: 15px;
    }
    
    .wrap {
        margin: 0;
        padding: 30px 25px;
        max-width: none;
    }
    
    .container {
        margin: 30px auto 10px auto;
    }
    
    .main-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .main-subtitle {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }
    
    .header .logo img {
        max-width: 150px;
    }
    
    .button {
        padding: 13px 28px;
        font-size: 1rem;
    }
    
    input[type="text"], 
    input[type="email"], 
    input[type="password"], 
    select {
        padding: 12px 15px;
    }
}

@media screen and (max-width: 480px) {
    body {
        padding: 12px;
    }
    
    .wrap {
        padding: 25px 20px;
    }
    
    .main-title {
        font-size: 1.6rem;
    }
    
    .main-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .header .logo img {
        max-width: 130px;
    }
    
    .button {
        padding: 12px 24px;
        font-size: 0.95rem;
        min-width: 120px;
    }
    
    footer.container {
        font-size: 0.85em;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wrap {
    animation: fadeIn 0.4s ease-out;
}

/* Estados para foco */
*:focus {
    outline: 2px solid rgba(0, 168, 232, 0.5);
    outline-offset: 2px;
}