/* =============================================
   signup.css — estilos mínimos para signup.html
   Substitui app.min.1.css + app.min.2.css
   ============================================= */

/* --- Roboto (local) --- */
@font-face {
    font-family: Roboto;
    src: url('../fonts/roboto/Roboto-Regular-webfont.woff') format('woff'),
         url('../fonts/roboto/Roboto-Regular-webfont.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: Roboto;
    src: url('../fonts/roboto/Roboto-Medium-webfont.woff') format('woff'),
         url('../fonts/roboto/Roboto-Medium-webfont.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: Roboto;
    src: url('../fonts/roboto/Roboto-Bold-webfont.woff') format('woff'),
         url('../fonts/roboto/Roboto-Bold-webfont.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* --- Box sizing --- */
*, *:before, *:after { box-sizing: border-box; }

/* --- Base --- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: Roboto, sans-serif;
    font-size: 13px;
    color: #5e5e5e;
    background: #edecec;
}
h3 {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin: 0 0 12px;
}
p { margin: 0 0 10px; }

/* --- Login layout --- */
.login-content { height: 100%; }

body.login-content {
    text-align: center;
}
body.login-content:after {
    content: "";
    vertical-align: middle;
    display: inline-block;
    width: 1px;
    height: 100%;
}
body.login-content:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 50%;
    width: 100%;
    background: #00BCD4;
    z-index: 0;
}

/* --- Card --- */
.lc-block {
    background: #fff;
    box-shadow: 0 1px 11px rgba(0, 0, 0, 0.27);
    border-radius: 2px;
    max-width: 500px;
    width: 80%;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding: 35px 35px 50px;
    text-align: left;
}
.lc-block:not(.toggled) { display: none; }
.lc-block.toggled { z-index: 10; }

/* --- Grid Bootstrap 3 (subset: col-xs-4 e col-xs-8) --- */
.row {
    margin-right: -15px;
    margin-left: -15px;
}
.row:before, .row:after { display: table; content: " "; }
.row:after { clear: both; }

.col-xs-4, .col-xs-8 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    float: left;
}
.col-xs-4 { width: 33.33333%; }
.col-xs-8 { width: 66.66667%; }

/* --- Form control --- */
input:active, input:focus { outline: 0; box-shadow: none !important; }

.form-control {
    display: block;
    width: 100%;
    height: 35px;
    padding: 0;
    font-size: 13px;
    line-height: 1.42857;
    color: #000;
    font-family: inherit;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-radius: 0;
    box-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.form-control:focus {
    outline: 0;
    box-shadow: none;
}

/* --- fg-line (underline animado no foco) --- */
.fg-line {
    position: relative;
    vertical-align: top;
    display: inline-block;
    width: 100%;
}
.fg-line:after {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    content: "";
    background: #2196F3;
    -webkit-transition: width 300ms;
    transition: width 300ms;
}
.fg-line:focus-within:after { width: 100%; }

/* --- Validação --- */
.has-error .fg-line:after {
    background: #F44336;
    width: 100%;
}
.has-error .form-control {
    border-color: #F44336;
}

/* --- Select (seta CSS pura, sem imagem) --- */
.select {
    position: relative;
}
.select:after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #888;
    pointer-events: none;
    z-index: 5;
}
.select .form-control {
    padding-right: 25px;
    cursor: pointer;
}

/* --- Botões --- */
.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.42857;
    border-radius: 2px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: inherit;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
.btn:focus, .btn:active:focus {
    outline: 0;
}
.btn-danger {
    color: #fff;
    background-color: #f44336;
    border-color: #f32c1e;
}
.btn-danger:hover, .btn-danger:focus {
    color: #fff;
    background-color: #ea1c0d;
    border-color: #c8180b;
}
.btn-danger:active {
    background-image: none;
}
.btn-danger[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}
.btn-block {
    display: block;
    width: 100%;
}
.btn-block + .btn-block { margin-top: 5px; }

/* --- Botão voltar --- */
.cad-btn-back {
    background: transparent;
    border: 1px solid #ddd;
    color: #999;
    box-shadow: none;
}
.cad-btn-back:hover, .cad-btn-back:focus {
    background: #f5f5f5;
    border-color: #ccc;
    color: #777;
}

/* --- Utilitários --- */
.text-left { text-align: left !important; }
.f-16 { font-size: 16px !important; }
.f-700 { font-weight: 700 !important; }
.m-b-20 { margin-bottom: 20px; }
.p-l-0 { padding-left: 0 !important; }

/* --- Ícones CSS (substitui material-design-iconic-font inteiro) --- */
.zmdi {
    display: inline-block;
    font-style: normal;
    vertical-align: middle;
    line-height: 1;
}

/* Seta esquerda */
.zmdi-arrow-back::before {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-top: -3px;
}

/* Spinner */
.zmdi-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
}
@-webkit-keyframes cad-spin {
    to { -webkit-transform: rotate(360deg); }
}
@keyframes cad-spin {
    to { transform: rotate(360deg); }
}
.zmdi-hc-spin {
    -webkit-animation: cad-spin 0.8s linear infinite;
    animation: cad-spin 0.8s linear infinite;
}

/* --- Progresso e wizard (style_cadastro.css inline) --- */
.cad-progress { margin-bottom: 28px; }

.cad-step-label {
    font-size: 11px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 7px;
}
.cad-progress-bar {
    height: 3px;
    background: #eee;
    border-radius: 3px;
}
.cad-progress-fill {
    height: 3px;
    background: #f44336;
    border-radius: 3px;
    -webkit-transition: width 0.4s ease;
    transition: width 0.4s ease;
}
.cad-step-hint {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.3;
}
.cad-step-sub {
    font-size: 14px;
    color: #999;
    margin-top: -16px;
    margin-bottom: 18px;
    line-height: 1.5;
}
.cad-error {
    font-size: 12px;
    color: #f44336;
    margin-top: -10px;
    margin-bottom: 12px;
    display: block;
    min-height: 16px;
}
/* --- Mostrar/ocultar senha --- */
.senha-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 2px;
    color: #aaa;
    line-height: 1;
}
.senha-toggle:hover { color: #555; }
#inp-senha { padding-right: 28px; }

/* --- Requisitos de senha inline --- */
.req-ok   { color: #4caf50; font-weight: 500; }
.req-fail { color: #f44336; font-weight: 500; }

@keyframes req-zoom {
    0%   { transform: scale(1); }
    7%   { transform: scale(1.13); }
    15%  { transform: scale(1.25); }
    25%  { transform: scale(1.42); }
    35%  { transform: scale(1.55); }
    42%  { transform: scale(1.44); }
    50%  { transform: scale(1.35); }
    57%  { transform: scale(1.44); }
    65%  { transform: scale(1.5); }
    72%  { transform: scale(1.33); }
    80%  { transform: scale(1.2); }
    86%  { transform: scale(1.14); }
    92%  { transform: scale(1.1); }
    96%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.req-zoom {
    display: inline-block;
    animation: req-zoom 0.85s ease;
}

.cad-actions { margin-top: 24px; }
.cad-actions .btn {
    height: 44px;
    line-height: 32px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 2px;
}
.cad-field .form-control {
    font-size: 17px;
    height: 44px;
    padding: 8px 4px;
}
.cad-field select.form-control { padding: 8px 4px; }
