/* ==========================================================
   LANDING.CSS — estilo compartilhado das telas "fora do login"
   (index.php, lost_account.php, registro.php, waitlist.php)

   Existia antes como CSS quase idêntico copiado em cada arquivo
   separadamente — isso foi a causa raiz de um bug real (registro.php
   e lost_account.php usando uma fonte de sistema moderna em vez do
   Tahoma nostálgico do index.php, sem ninguém perceber a diferença
   até comparar lado a lado). Agora existe um único lugar de verdade;
   cada página só define localmente o que é exclusivo dela.
========================================================== */

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

body {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    color: #333;
    min-height: 100vh;
    padding: 20px 10px;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Textura sutil em pontinhos por trás do gradiente azul clássico —
       um toque "papel de parede" de site dos anos 2000, bem discreto. */
    background-image:
        radial-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
        linear-gradient(to bottom, #dbe3ef 0%, #cdd9ea 100%);
    background-size: 22px 22px, 100% 100%;
    background-attachment: fixed;
}

a { color: #0000cc; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: 900px; }

.warning-box {
    background: linear-gradient(#fffbdc, #fef8cc);
    border: 1px solid #ffd324;
    padding: 10px;
    margin-bottom: 15px;
    color: #cc0000;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 1px 3px rgba(0,0,0,0.08);
    text-align: center;
    font-size: 13px;
}

.content-wrapper { display: flex; gap: 15px; }

/* Coluna do logo */
.left-col {
    flex: 1;
    background: #fff;
    border: 1px solid #a5bce3;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 2px 6px rgba(0,0,0,0.08);
}

/* Logo com relevo em camadas — o "emboss" clássico de logo Web 2.0 */
.logo {
    font-size: 75px;
    font-weight: bold;
    color: #e6399b;
    margin-bottom: 25px;
    letter-spacing: -4px;
    text-align: center;
    text-shadow:
        1px 1px 0 #fff,
        2px 2px 0 #f4a1cd,
        3px 3px 0 #f4a1cd,
        5px 5px 10px rgba(0,0,0,0.15);
}
.logo sup { font-size: 14px; color: #888; letter-spacing: 0; text-shadow: none; }

.features { line-height: 1.7; text-align: center; font-size: 13px; color: #333; }
.features span { color: #b30059; font-weight: bold; }

/* Coluna do formulário */
.right-col { width: 320px; display: flex; flex-direction: column; gap: 15px; }

.login-box, .join-box {
    background: linear-gradient(#edf3fb, #e4ebf5);
    border: 1px solid #a5bce3;
    padding: 18px;
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 2px 6px rgba(0,0,0,0.08);
}
.login-box h2 { font-size: 15px; font-weight: bold; margin-bottom: 5px; color: #3b5998; }
.login-box p { font-size: 12px; margin-bottom: 15px; color: #555; line-height: 1.4; }

.error-msg { background: #ffe6e6; border: 1px solid #cc0000; color: #cc0000; padding: 10px; margin-bottom: 15px; font-weight: bold; border-radius: 4px; font-size: 12px; text-align: center; }
.success-msg { background: #e4f2e9; border: 1px solid #8bc59e; color: #2a6b2a; padding: 15px; margin-bottom: 15px; font-weight: bold; border-radius: 4px; font-size: 13px; text-align: center; line-height: 1.6; }

/* Campos de formulário */
.form-group { display: flex; flex-direction: column; margin-bottom: 12px; }
.form-group label { font-size: 12px; font-weight: bold; color: #555; margin-bottom: 4px; }
.form-group input[type="text"], .form-group input[type="password"], .form-group input[type="email"], .form-group input[type="date"], .form-group select {
    padding: 8px; border: 1px solid #7f9db9; border-radius: 4px; background: #fff; font-size: 13px; outline: none; width: 100%; transition: 0.2s;
}
.form-group input:focus, .form-group select:focus { border-color: #e6399b; box-shadow: 0 0 3px rgba(230,57,155,0.4); }

/* Login clássico (linha label + input, usado em index.php) */
.form-group-inline { display: flex; margin-bottom: 10px; align-items: center; }
.form-group-inline label { width: 55px; }
.form-group-inline input[type="text"], .form-group-inline input[type="password"] { flex: 1; padding: 5px; border: 1px solid #7f9db9; border-radius: 4px; background-color: #fff; }
.form-group-inline input:focus { outline: none; border-color: #e6399b; box-shadow: 0 0 3px rgba(230,57,155,0.4); }

.login-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; padding-left: 55px; }
.remember-me { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #333; cursor: pointer; user-select: none; }
.remember-me input { margin: 0; cursor: pointer; }

/* Botão clássico cinza/branco — o botão de login original do Orkut */
.btn-login {
    padding: 5px 20px;
    background: linear-gradient(#ffffff, #dcdcdc);
    border: 1px solid #666;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    width: fit-content;
    transition: 0.15s;
}
.btn-login:hover { background: linear-gradient(#f8f8f8, #cfcfcf); }

/* Variante usada nos formulários de largura total (registro/recuperação) */
.btn-login.btn-full {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    font-size: 14px;
}

.login-link, .forgot-link { display: block; text-align: center; margin-top: 20px; font-size: 11px; }

.join-box { text-align: center; padding: 25px 15px; }
.join-box a {
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    display: inline-block;
    margin-top: 5px;
    background: linear-gradient(#ff6bbd, #e6399b);
    border: 1px solid #c92c85;
    padding: 8px 22px;
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 2px 4px rgba(0,0,0,0.1);
    transition: 0.15s;
}
.join-box a:hover { background: linear-gradient(#ff85c8, #c92c85); text-decoration: none; }

.footer {
    background-color: #c0d0e6;
    text-align: center;
    padding: 10px;
    margin-top: 15px;
    border: 1px solid #a5bce3;
    border-top: 1px dashed #8fa8cc;
    border-radius: 0 0 8px 8px;
    font-size: 11px;
    color: #333;
}

.mobile-signup-text { display: none; }

/* ==================================================
   MOBILE
================================================== */
@media (max-width: 768px) {
    body { padding: 10px; align-items: flex-start; }
    .content-wrapper { flex-direction: column; gap: 10px; }

    .left-col { padding: 20px; border: none; box-shadow: none; background: transparent; }
    .logo { font-size: 60px; margin-bottom: 0; }
    .features { display: none; }
    .mobile-signup-text { display: block; font-size: 15px; color: #666; margin: 0 0 15px; text-align: center; }

    .right-col { width: 100%; }
    .login-box, .join-box { padding: 20px; }
    .login-box h2 { text-align: center; font-weight: bold; font-size: 14px; margin-bottom: 20px; }
    .login-box p { text-align: center; }

    .form-group-inline { flex-direction: column; align-items: flex-start; margin-bottom: 15px; }
    .form-group-inline label { width: 100%; margin-bottom: 5px; font-weight: bold; font-size: 13px; color: #444; }
    .form-group-inline input[type="text"], .form-group-inline input[type="password"] { width: 100%; padding: 12px; font-size: 16px; }

    .form-group label { font-size: 14px; }
    .form-group input[type="text"], .form-group input[type="password"], .form-group input[type="email"], .form-group input[type="date"], .form-group select {
        padding: 12px; font-size: 16px;
    }

    .login-actions { padding-left: 0; gap: 15px; }
    .remember-me { font-size: 13px; }

    .btn-login, .btn-login.btn-full {
        width: 100%; padding: 14px; font-size: 16px;
        background: #3b5998; color: #fff; border: none; border-radius: 6px;
    }
    .btn-login:hover { background: #2d4373; }

    .forgot-link, .login-link { font-size: 13px; margin-top: 25px; }

    .join-box { background: linear-gradient(#edf3fb, #e4ebf5); border: 2px solid #a5bce3; padding: 30px 20px; }
    .join-box div { font-size: 14px; margin-bottom: 10px; color: #555; }
    .join-box a { display: block; background: #3b5998; border-color: #2d4373; color: #fff; padding: 12px; border-radius: 6px; font-size: 18px; text-decoration: none; box-shadow: none; }

    .footer { background: transparent; border: none; padding-bottom: 30px; font-size: 13px; }
    .footer a { display: inline-block; margin: 5px; }
}
