/*
   WooCommerce Sophisticated Login — Rumoa Brand
   Background escuro + Amarelo Rumoa #FFCC00
*/

:root {
    --wc-login-main: #FFCC00;
    --wc-login-hover: #e6b800;
    --wc-login-border: #FFCC00;
    --wc-login-text: #FFCC00;
    --wc-login-bg: #1e293b;
    --wc-login-shadow: rgba(0, 0, 0, 0.45);
}

.wc-login-trigger-container {
    display: inline-block;
    font-family: inherit;
    min-width: 140px;
}

.wc-login-trigger {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    color: var(--wc-login-text) !important;
    transition: all 0.3s ease;
    gap: 8px;
}

.wc-login-trigger:hover {
    color: var(--wc-login-hover) !important;
}

/* Ícone */
.wc-login-icon {
    margin-right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wc-login-icon svg {
    stroke: var(--wc-login-main) !important;
}

.wc-login-trigger:hover .wc-login-icon svg {
    stroke: var(--wc-login-hover) !important;
}

/* Texto do Trigger */
.wc-login-text {
    display: flex;
    flex-direction: column;
    font-size: 11px;
    line-height: 1.25;
    color: var(--wc-login-text) !important;
}

.wc-login-text span {
    color: var(--wc-login-text) !important;
}

.wc-login-text strong {
    font-weight: 700;
    color: var(--wc-login-text) !important;
}

/* Dropdown */
.wc-login-dropdown {
    position: absolute;
    z-index: 999999;
    background: var(--wc-login-bg);
    border-radius: 14px;
    box-shadow: 0 16px 48px var(--wc-login-shadow);
    width: 290px;
    padding: 20px;
    margin-top: 14px;
    border: 1px solid rgba(255, 204, 0, 0.18);
    display: none;
}

.wc-login-dropdown-arrow {
    position: absolute;
    top: -8px;
    right: 40px;
    width: 16px;
    height: 16px;
    background: var(--wc-login-bg);
    transform: rotate(45deg);
    border-left: 1px solid rgba(255, 204, 0, 0.18);
    border-top: 1px solid rgba(255, 204, 0, 0.18);
}

/* Botão principal — Amarelo Rumoa */
.wc-login-btn {
    display: block;
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 10px;
    border-radius: 30px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.wc-login-btn-primary {
    background-color: var(--wc-login-main) !important;
    color: #1a1a1a !important;
}

.wc-login-btn-primary:hover {
    background-color: var(--wc-login-hover) !important;
    transform: translateY(-1px);
}

.wc-login-btn-secondary {
    background-color: transparent !important;
    color: var(--wc-login-main) !important;
    border: 1.5px solid var(--wc-login-main) !important;
}

.wc-login-btn-secondary:hover {
    background-color: rgba(255, 204, 0, 0.08) !important;
}

/* Separador */
.wc-login-social-separator {
    text-align: center;
    margin: 16px 0;
    position: relative;
}

.wc-login-social-separator::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 1;
}

.wc-login-social-separator span {
    background: var(--wc-login-bg);
    padding: 0 10px;
    color: rgba(255,255,255,0.45);
    font-size: 11px;
    position: relative;
    z-index: 2;
}

/* Social button */
.wc-login-btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    gap: 10px;
    box-sizing: border-box;
}

.wc-login-btn-social:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Spinner */
.wc-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(26,26,26,.3);
    border-radius: 50%;
    border-top-color: #1a1a1a;
    animation: wc-spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes wc-spin {
    to { transform: rotate(360deg); }
}

/* Mobile */
@media (max-width: 480px) {
    .wc-login-dropdown {
        width: calc(100vw - 40px);
        left: 20px !important;
    }
}