/* ============================================================
   Transparencia 360° — Login & Registration
   Mobile-first. Breakpoints: 481px
   ============================================================ */

.t360-login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 24px 16px;
}

@media (min-width: 481px) {
    .t360-login-wrapper { padding: 40px 16px; }
}

.t360-login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 10px 40px -4px rgba(37,99,235,0.12);
    border: 1px solid #e2e8f0;
}

@media (min-width: 481px) {
    .t360-login-card { padding: 40px 36px; }
}

.t360-login-header {
    text-align: center;
    margin-bottom: 32px;
}

.t360-login-logo {
    display: inline-flex;
    margin-bottom: 16px;
}

.t360-login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    letter-spacing: -0.025em;
}

.t360-login-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.t360-field {
    margin-bottom: 20px;
}

.t360-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.t360-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.t360-input-icon {
    position: absolute;
    left: 12px;
    color: #9ca3af;
    pointer-events: none;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.t360-input-wrapper:has(.t360-input:not(:placeholder-shown)) .t360-input-icon {
    opacity: 0;
}

.t360-input {
    width: 100%;
    padding: 11px 40px 11px 38px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #1e293b;
    background: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
    outline: none;
}

.t360-input:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.t360-toggle-pass {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 4px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: color 0.2s;
}

.t360-toggle-pass:hover { color: #4b5563; }

.t360-btn-login {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(37,99,235,0.3);
}

.t360-btn-login:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}

.t360-btn-login:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(37,99,235,0.3);
}
