/* INSULA Authentication Modal */

.insula-auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.insula-auth-modal.active {
    display: flex;
}

.insula-auth-modal-content {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.insula-auth-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.insula-auth-modal-title {
    font-family: 'Zen Dots', sans-serif;
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 8px;
}

.insula-auth-modal-subtitle {
    color: #b0b0b0;
    font-size: 14px;
}

.insula-auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.insula-auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.insula-auth-form-label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
}

.insula-auth-form-input {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 10px 12px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.insula-auth-form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.insula-auth-form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.insula-auth-form-error {
    color: #ff4444;
    font-size: 12px;
    margin-top: -8px;
    display: none;
}

.insula-auth-form-error.show {
    display: block;
}

.insula-auth-form-submit {
    background: #ffffff;
    color: #0a0a0a;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 8px;
}

.insula-auth-form-submit:hover {
    background: #e0e0e0;
}

.insula-auth-form-submit:active {
    transform: scale(0.98);
}

.insula-auth-form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}




