/* ============================================================
   Pintiket Auth — SOLD OUTS
   Login modal + registro de productor.
   Paleta: magenta #E411AB / azul #27ADFF / negro #000
   Estética: limpio, oscuro, premium. Sin gradientes ni sombras.
   ============================================================ */

/* Animaciones usadas por login_register.js */
.animated {
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes shake {
    0%, 100% { -webkit-transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { -webkit-transform: translateX(-10px); }
    20%, 40%, 60%, 80% { -webkit-transform: translateX(10px); }
}
@-moz-keyframes shake {
    0%, 100% { -moz-transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { -moz-transform: translateX(-10px); }
    20%, 40%, 60%, 80% { -moz-transform: translateX(10px); }
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}
.shake {
    -webkit-animation-name: shake;
    -moz-animation-name: shake;
    -o-animation-name: shake;
    animation-name: shake;
}

/* ================= CAMPOS ================= */
.pt-field {
    margin-bottom: 16px;
}

.pt-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pt-muted);
    margin-bottom: 8px;
}

.pt-input {
    width: 100%;
    background: #141414;
    border: 1px solid var(--pt-border-dark);
    border-radius: 10px;
    color: var(--pt-text);
    padding: 12px 14px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.pt-input::placeholder {
    color: #7a7a7a;
}

textarea.pt-input {
    resize: vertical;
    min-height: 60px;
}

.pt-input:focus {
    outline: none;
    border-color: var(--pt-magenta);
    box-shadow: 0 0 0 3px rgba(228, 17, 171, .15);
}

.pt-input.is-invalid {
    border-color: #ff5252;
}

.pt-input.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(255, 82, 82, .15);
}

select.pt-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23E411AB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

select.pt-input option {
    background: #141414;
    color: var(--pt-text);
}

.pt-error {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 6px;
}

/* ================= BOTONES ================= */
.pt-btn-block {
    width: 100%;
    border-radius: 999px;
    padding: 14px 18px;
    font-size: 14px;
}

/* ================= LOGIN MODAL ================= */
.pt-login .modal-dialog {
    max-width: 420px;
    margin: 1.75rem auto;
}

.pt-login .modal-content {
    background: #0d0d0d;
    border: 1px solid var(--pt-border);
    border-radius: 20px;
    color: var(--pt-text);
    overflow: hidden;
}

.pt-login .modal-header {
    position: relative;
    border: 0;
    padding: 28px 28px 0;
    text-align: center;
    display: block;
}

.pt-login-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    filter: invert(1) grayscale(1) brightness(2);
    opacity: .7;
}

.pt-login-close:hover {
    opacity: 1;
}

.pt-login-brand {
    display: block;
    text-align: center;
    margin-bottom: 18px;
}

.pt-login-brand img {
    height: 40px;
}

.pt-login-title {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pt-text);
    margin: 0 0 6px;
    text-align: center;
    width: 100%;
}

.pt-login-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background: var(--pt-magenta);
    margin: 10px auto 0;
}

.pt-login-subtitle {
    color: var(--pt-muted);
    font-size: 13px;
    text-align: center;
    margin: 0 0 22px;
}

.pt-login-body {
    padding: 6px 28px 0;
}

.pt-login-error .alert {
    background: rgba(255, 82, 82, .12);
    border: 1px solid rgba(255, 82, 82, .4);
    color: #ff9d9d;
    border-radius: 10px;
    font-size: 12px;
    padding: 10px 12px;
}

.pt-login-error .text-danger {
    color: #ff9d9d;
    font-size: 12px;
}

.pt-login-error ul {
    padding-left: 16px;
    margin: 6px 0 0;
}

.pt-login-forgot {
    text-align: right;
    margin-bottom: 16px;
}

.pt-login-forgot a {
    color: var(--pt-blue);
    font-size: 13px;
    text-decoration: none;
}

.pt-login-forgot a:hover {
    text-decoration: underline;
}

.pt-producer-link img {
    width: 22px;
    height: 22px;
}

/* División */
.pt-login-division {
    float: none;
    margin: 22px auto 20px;
    position: relative;
    width: 100%;
    text-align: center;
}

.pt-login-division .line {
    border-top: 1px solid var(--pt-border-dark);
    position: absolute;
    top: 10px;
    width: 40%;
}

.pt-login-division .line.l {
    left: 0;
}

.pt-login-division .line.r {
    right: 0;
}

.pt-login-division span {
    color: var(--pt-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Social */
.pt-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    border-radius: 999px;
    padding: 13px 18px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s ease, opacity .15s ease;
    margin-bottom: 12px;
}

.pt-social-btn:hover {
    transform: translateY(-1px);
    opacity: .92;
    text-decoration: none;
}

.pt-social-btn i {
    font-size: 20px;
}

.pt-social-fb {
    background: #1877F2;
    color: #fff;
}

.pt-social-fb:hover {
    color: #fff;
}

.pt-social-google {
    background: #fff;
    color: #3c4043;
    border: 1px solid #e1e3e6;
}

body.pt-landing-dark .pt-social-google {
    color: #3c4043;
}

.pt-social-google:hover {
    color: #3c4043;
}

body.pt-landing-dark .pt-social-google:hover {
    color: #3c4043;
}

.pt-social-google i {
    color: #4285F4;
}

/* Footer */
.pt-login .modal-footer {
    border: 0;
    padding: 20px 28px 26px;
    justify-content: center;
}

.pt-login-footer .forgot {
    color: var(--pt-muted);
    font-size: 13px;
    text-align: center;
}

.pt-login-footer .forgot a {
    color: var(--pt-blue);
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}

.pt-login-footer .forgot a:hover {
    text-decoration: underline;
}

/* ================= REGISTRO PRODUCTOR ================= */
.pt-register-producer {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.pt-register-hero {
    text-align: center;
    margin-bottom: 40px;
}

.pt-register-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--pt-magenta);
    margin-bottom: 10px;
}

.pt-register-title {
    font-size: 38px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--pt-text);
    line-height: 1.15;
    margin: 0 0 10px;
}

.pt-register-title span {
    color: var(--pt-blue);
}

.pt-register-subtitle {
    color: var(--pt-muted);
    font-size: 14px;
    max-width: 520px;
    margin: 0 auto;
}

.pt-register-card {
    background: #111;
    border: 1px solid var(--pt-border);
    border-radius: 18px;
    padding: 34px 38px;
    max-width: 780px;
    margin: 0 auto;
}

.pt-register-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 22px;
}

.pt-field-full {
    grid-column: 1 / -1;
}

.pt-register-footer {
    text-align: center;
    margin-top: 26px;
    border-top: 1px solid var(--pt-border-dark);
    padding-top: 24px;
}

.pt-register-footer .pt-btn {
    min-width: 220px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 640px) {
    .pt-register-title {
        font-size: 28px;
    }

    .pt-register-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .pt-register-grid {
        grid-template-columns: 1fr;
    }

    .pt-login .modal-dialog {
        margin: 1rem auto;
    }

    .pt-login .modal-header {
        padding: 24px 20px 0;
    }

    .pt-login-body {
        padding: 6px 20px 0;
    }

    .pt-login .modal-footer {
        padding: 18px 20px 24px;
    }
}
