/* ── Global Lock ── */
body.hc-auth-open { overflow: hidden !important; }

/* ── Modal Base ── */
.hc-auth-modal-wrapper {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.hc-auth-modal-wrapper.is-modal.is-active { display: flex; }
.hc-auth-modal-wrapper.is-inline { 
    position: relative; 
    inset: auto; 
    display: flex; 
    padding: 0; 
    background: transparent; 
    z-index: 1;
}

.hc-auth-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(25px);
}

.hc-auth-container {
    background: #080808;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 50px 40px 40px;
    width: 100%;
    max-width: 720px; /* Wider for bigger text */
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 50px 150px rgba(0,0,0,1);
    animation: hcModalScale 0.3s ease-out forwards;
}

/* ── Custom Sleek Scrollbar ── */
.hc-auth-container::-webkit-scrollbar { width: 4px; }
.hc-auth-container::-webkit-scrollbar-track { background: transparent; }
.hc-auth-container::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
.hc-auth-container::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

/* ── Steps ── */
.hc-auth-step { display: none; }
.hc-auth-step.active { display: block; animation: hcFadeIn 0.3s ease forwards; }

.hc-auth-title { font-size: 42px; font-weight: 900; color: #fff; margin-bottom: 15px; text-align: center; letter-spacing: -1.5px; line-height: 1.1; }
.hc-auth-subtitle { font-size: 20px; color: #fff; margin-bottom: 45px; text-align: center; opacity: 0.9; font-weight: 500; }

/* ── Choice Screen ── */
.hc-auth-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 35px; }
.hc-auth-choice-card {
    background: #151515;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 50px 30px 40px;
    border-radius: 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hc-auth-choice-card:hover {
    transform: translateY(-10px);
    border-color: #fff;
    background: #1a1a1a;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}

.hc-choice-badge {
    background: rgba(255,255,255,0.1); color: #fff;
    font-size: 11px; font-weight: 900; padding: 8px 18px; border-radius: 20px; letter-spacing: 2px;
    margin-bottom: 30px; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.2);
}

.hc-choice-icon { font-size: 60px; margin-bottom: 30px; opacity: 1; transition: all 0.4s; }
.hc-auth-choice-card:hover .hc-choice-icon { transform: scale(1.2); }

.hc-auth-choice-card h3 { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 30px; letter-spacing: 1px; text-transform: uppercase; }

.hc-choice-features { list-style: none; padding: 0; margin: 0 0 40px; text-align: left; width: 100%; }
.hc-choice-features li { color: #fff; font-size: 16px; margin-bottom: 18px; display: flex; align-items: center; gap: 15px; font-weight: 600; line-height: 1.4; }
.hc-choice-features li i { color: var(--primary-color); font-size: 14px; filter: drop-shadow(0 0 5px var(--primary-color)); }
.hc-auth-choice-card[data-type="model"] .hc-choice-features li i { color: #D4AF37; filter: drop-shadow(0 0 5px #D4AF37); }

.hc-choice-select {
    margin-top: auto; width: 100%; padding: 18px; border-radius: 16px;
    background: rgba(255,255,255,0.1); color: #fff; font-size: 14px; font-weight: 900;
    border: 2px solid rgba(255,255,255,0.2); transition: all 0.3s;
    letter-spacing: 2px; text-transform: uppercase;
}
.hc-auth-choice-card:hover .hc-choice-select { background: #fff !important; color: #000 !important; border-color: #fff !important; }
.hc-auth-choice-card[data-type="client"] .hc-choice-select { border-color: rgba(255, 0, 85, 0.4); color: var(--primary-color, #ff0055); }
.hc-auth-choice-card[data-type="model"] .hc-choice-select { border-color: rgba(212, 175, 55, 0.4); color: #D4AF37; }
.hc-auth-choice-card[data-type="client"]:hover .hc-choice-select { background: var(--primary-color, #ff0055) !important; border-color: var(--primary-color, #ff0055) !important; color: #fff !important; box-shadow: 0 8px 25px rgba(255, 0, 85, 0.4) !important; }
.hc-auth-choice-card[data-type="model"]:hover .hc-choice-select { background: #D4AF37 !important; border-color: #D4AF37 !important; color: #000 !important; box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4) !important; }




/* Dourado para o CTA da Modelo no Cadastro */
.hc-reg-model-view .hc-auth-submit {
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: #000;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}
.hc-reg-model-view .hc-auth-submit:hover {
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}


/* ── Tabs & Forms ── */
.hc-auth-tabs {
    display: flex; background: rgba(255,255,255,0.02); padding: 5px; border-radius: 14px; margin-bottom: 30px; gap: 5px;
    border: 1px solid rgba(255,255,255,0.03);
}
.hc-auth-tab {
    flex: 1; border: none; background: transparent; color: #555; padding: 12px; border-radius: 10px; cursor: pointer;
    font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s;
}
.hc-auth-tab.active { background: var(--primary-color); color: #fff; box-shadow: 0 5px 15px rgba(255,0,85,0.3); }

/* Model Skin (Gold) */
.hc-skin-model { border-color: rgba(212, 175, 55, 0.4) !important; box-shadow: 0 50px 100px rgba(0,0,0,0.9), 0 0 50px rgba(212, 175, 55, 0.1) !important; }
.hc-skin-model .hc-auth-tab.active { background: #D4AF37 !important; color: #000 !important; box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3) !important; }
.hc-skin-model .hc-auth-field input:focus { border-color: #D4AF37 !important; background: rgba(212, 175, 55, 0.03) !important; }
.hc-skin-model .hc-auth-submit { background: linear-gradient(135deg, #D4AF37, #B8860B) !important; color: #000 !important; box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3) !important; }
.hc-skin-model .hc-auth-close:hover { background: #D4AF37 !important; }
.hc-skin-model .hc-switch-step:hover, .hc-skin-model .hc-back-to-choice:hover { color: #D4AF37 !important; }

/* Client Skin (VIP Premium Pink/Red) */
.hc-skin-client { border-color: rgba(255, 0, 85, 0.4) !important; box-shadow: 0 50px 100px rgba(0,0,0,0.9), 0 0 50px rgba(255, 0, 85, 0.1) !important; }
.hc-skin-client .hc-auth-tab.active { background: var(--primary-color, #ff0055) !important; color: #fff !important; box-shadow: 0 8px 20px rgba(255, 0, 85, 0.3) !important; }
.hc-skin-client .hc-auth-field input:focus { border-color: var(--primary-color, #ff0055) !important; background: rgba(255, 0, 85, 0.03) !important; }
.hc-skin-client .hc-auth-submit { background: linear-gradient(135deg, #ff0055, #cc0044) !important; color: #fff !important; box-shadow: 0 10px 25px rgba(255, 0, 85, 0.3) !important; }
.hc-skin-client .hc-auth-close:hover { background: var(--primary-color, #ff0055) !important; }
.hc-skin-client .hc-switch-step:hover, .hc-skin-client .hc-back-to-choice:hover { color: var(--primary-color, #ff0055) !important; }

.hc-auth-form { display: none; }

.hc-auth-form.active { display: block !important; animation: hcFadeIn 0.3s ease; }

/* 2-Column Row */
.hc-auth-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
    margin-bottom: 5px;
}

.hc-auth-field { margin-bottom: 15px; }
.hc-auth-field label { display: block; font-size: 9px; color: #444; text-transform: uppercase; font-weight: 800; margin-bottom: 8px; letter-spacing: 1.5px; }
.hc-auth-field input { 
    width: 100%; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 14px 18px; 
    border-radius: 12px; color: #fff; font-family: inherit; font-size: 14px; transition: all 0.3s; 
}
.hc-auth-field input:focus { border-color: var(--primary-color); outline: none; background: rgba(255,0,85,0.02); }

.hc-auth-submit {
    width: 100%; background: linear-gradient(135deg, #ff0055, #cc0044); color: #fff; border: none; padding: 16px;
    border-radius: 14px; font-size: 14px; font-weight: 800; text-transform: uppercase; cursor: pointer;
    transition: all 0.3s; box-shadow: 0 10px 25px rgba(255,0,85,0.3); letter-spacing: 1px; margin-top: 10px;
}
.hc-auth-submit:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(255,0,85,0.5); }

/* ── Close Button ── */
.hc-auth-close {
    position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.05); border: none; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; transition: all 0.3s; z-index: 10;
}
.hc-auth-close:hover { background: var(--primary-color); transform: rotate(90deg); }

/* ── Footer ── */
.hc-switch-step, .hc-back-to-choice {
    background: none; border: none; color: #444; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.hc-switch-step:hover, .hc-back-to-choice:hover { color: var(--primary-color); }
.hc-back-to-choice { margin-top: 25px; width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,0.03); padding-top: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; }

@keyframes hcModalScale {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes hcFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 600px) {
    .hc-auth-modal-wrapper { padding: 0; align-items: flex-end; }
    .hc-auth-container { 
        padding: 40px 20px 30px; border-radius: 30px 30px 0 0; 
        max-height: 85vh; border: none; overflow-y: auto;
        animation: hcModalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .hc-auth-field input { font-size: 16px !important; }
    .hc-auth-choice-grid { grid-template-columns: 1fr !important; gap: 15px; }
    .hc-auth-row { grid-template-columns: 1fr !important; }
    
    .hc-auth-choice-card { padding: 25px 20px; border-radius: 20px; }
    .hc-choice-icon { font-size: 36px; margin-bottom: 12px; opacity: 1; filter: none; }
    .hc-auth-choice-card h3 { margin-bottom: 15px; }
    .hc-choice-features { margin-bottom: 20px; }
    .hc-choice-badge { margin-bottom: 15px; }
    
    .hc-auth-title { font-size: 22px; }
    .hc-auth-close { top: 15px; right: 15px; background: rgba(255,255,255,0.1); }
}

@keyframes hcModalSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

