/* --- Shared Auth Popup Styles --- */
.iddi-popup__container {
    width: 100%;
    max-width: 460px;
    margin: 20px;
    overflow: hidden;
    animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.iddi-popup__close {
    cursor: pointer;
    z-index: 10;
    color: var(--color-oxford-blue);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.iddi-popup__close:hover {
    opacity: 1;
}

.iddi-popup__close svg {
    width: 24px;
    height: 24px;
}

.iddi-auth-input {
    background: #F8FAFC;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.iddi-auth-input:focus {
    border-color: var(--color-flame-orange);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(228, 94, 37, 0.1);
}

.password-toggle {
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.4;
}

.password-toggle:hover {
    opacity: 1;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.auth-message {
    margin-top: 10px;
}

.auth-message.error {
    background: #FEE2E2;
    color: #991B1B;
}

.auth-message.success {
    background: #DCFCE7;
    color: #166534;
}

.iddi-auth-submit {
    transition: all 0.3s;
}

.iddi-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(228, 94, 37, 0.2);
}

.iddi-auth-footer a {
    text-decoration: none;
    transition: color 0.3s;
}

.iddi-auth-footer a:hover {
    text-decoration: underline;
}
