/* Omega Auth Styles */
*, *::before, *::after { box-sizing: border-box; }

.omega-auth-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px 60px;
    min-height: 60vh;
}

.omega-auth-box {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    overflow: hidden;
}

/* ── Tabs ── */
.omega-tabs {
    display: flex;
    background: #f7f7f7;
    border-bottom: 1px solid #eee;
}
.omega-tab {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 15px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
}
.omega-tab:hover { color: #333; }
.omega-tab.active {
    background: #fff;
    color: #c8a96e;
    border-bottom-color: #c8a96e;
}

/* ── Panels ── */
.omega-panel {
    display: none;
    padding: 32px 36px 36px;
}
.omega-panel.active { display: block; }

.omega-panel h2 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}
.omega-subtitle {
    margin: 0 0 24px;
    color: #888;
    font-size: 14px;
}

/* ── Fields ── */
.omega-field {
    margin-bottom: 18px;
}
.omega-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}
.omega-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.omega-field input:focus {
    border-color: #c8a96e;
    box-shadow: 0 0 0 3px rgba(200,169,110,0.12);
    background: #fff;
}
.req { color: #e05; }

/* Password toggle */
.omega-pass-wrap { position: relative; }
.omega-pass-wrap input { padding-right: 42px; }
.omega-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    opacity: 0.45;
    user-select: none;
    transition: opacity 0.2s;
}
.omega-eye:hover { opacity: 0.8; }

/* 2-col row */
.omega-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Remember / forgot row */
.omega-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 13px;
}
.omega-check {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #555;
    cursor: pointer;
}
.omega-check input { width: auto; margin: 0; }
.omega-link {
    color: #c8a96e;
    text-decoration: none;
    font-size: 13px;
}
.omega-link:hover { text-decoration: underline; }

/* ── Button ── */
.omega-btn {
    width: 100%;
    padding: 13px 20px;
    background: #c8a96e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.omega-btn:hover { background: #b8955a; }
.omega-btn:active { transform: scale(0.98); }
.omega-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.omega-spinner { animation: omega-spin 0.8s linear infinite; display: inline-block; }
@keyframes omega-spin { to { transform: rotate(360deg); } }

/* Switch link */
.omega-switch {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* ── Messages ── */
.omega-message {
    padding: 11px 14px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.5;
}
.omega-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}
.omega-message.error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* ── Responsive ── */
@media (max-width: 520px) {
    .omega-panel { padding: 24px 20px 28px; }
    .omega-row-2col { grid-template-columns: 1fr; gap: 0; }
    .omega-auth-wrap { padding: 20px 12px 40px; }
}
