/* ===== RESET ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== BODY ===== */
body {
    min-height: 100vh;
    min-height: 120vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top, #1a0933, #0f172a 60%);
    color: white;
    font-family: Arial, sans-serif;
}

/* ===== SIDEBAR WRAPPER ===== */
.sidebar-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 10;
    transition: width 0.3s ease;
}

.sidebar-wrapper.open {
    width: 200px;
}

/* ===== SIDEBAR ===== */
.sidebar {
    height: 100%;
    width: 60px;
    padding: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);

    border-right: 1px solid rgba(255,255,255,0.1);
    transition: width 0.3s ease;
}

.sidebar-wrapper.open .sidebar {
    width: 200px;
    align-items: flex-start;
}

/* ===== DOT MODE ===== */
.dot-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 0;
}

.dot-column span {
    display: none;
}

.dot-column span:first-child {
    width: 11px;
    height: 11px;
    background: radial-gradient(circle at 30% 30%, #ffe9b3 0%, #e7c56f 45%, #a97826 100%);
    border-radius: 50%;
    box-shadow:
        0 0 0 2px rgba(214, 177, 95, 0.24),
        0 0 11px rgba(214, 177, 95, 0.52),
        inset 0 1px 2px rgba(255, 244, 200, 0.72),
        0 -36px 0 0 #d6b15f,
        0 -18px 0 0 #d6b15f,
        0 18px 0 0 #d6b15f,
        0 36px 0 0 #d6b15f;
    opacity: 1;
    display: block;
}

/* HIDE DOTS WHEN OPEN */
.sidebar-wrapper.open .sidebar .dot-column {
    display: none;
}

/* ===== MENU ===== */
.menu {
    display: none;
    width: 100%;
}

/* SHOW MENU ON OPEN */
.sidebar-wrapper.open .sidebar .menu {
    display: block;
}

/* ===== SIDEBAR BUTTONS ===== */
.sidebar .btn {
    display: block;
    width: 100%;
    padding: 8px;

    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;

    text-decoration: none;
    color: white;
    font-size: 14px;

    margin-bottom: 8px;
    transition: 0.2s;
}

.sidebar .btn:hover {
    background: rgba(255,255,255,0.1);
}

.btn.primary {
    background: rgba(255,255,255,0.2);
}

.btn.secondary {
    border-color: rgba(255,255,255,0.4);
}

/* ===== MAIN ===== */
.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-left: 20px;
    padding-top: 60px;
    padding-bottom: 60px;
    transition: padding-left 0.3s ease;
}

.sidebar-wrapper:hover ~ .container {
    padding-left: 200px;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    padding: 0;
    font-family: Arial, sans-serif;
    margin-left: 60px;
    transition: margin-left 0.3s ease;
}

.sidebar-wrapper.open ~ .footer,
.sidebar-wrapper:hover ~ .footer {
    margin-left: 200px;
}

/* Footer horizontal layout */
.footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(214,177,95,0.45);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #e3e5ff;
}

.newsletter-btn {
    background: #7c3aed;
    color: white;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-align: center;
}

.newsletter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    background: #6226d8;
}

.newsletter-btn.right {
    margin-left: auto;
}

.footer-bottom {
    padding: 12px 24px;
    text-align: center;
    font-size: 0.9rem;
    color: #f2d188;
}

@media (max-width: 700px) {
    .footer {
        margin-left: 0;
    }

    .footer-top {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-links {
        justify-content: center;
        gap: 14px;
        margin-bottom: 10px;
    }

    .newsletter-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== LOGIN LAYOUT WRAPPER ===== */
.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.ring.white {
    background: radial-gradient(circle, transparent 60%, white 70%, transparent 80%);
}

.ring.purple {
    background: radial-gradient(circle, transparent 55%, rgba(140,0,255,0.82) 68%, transparent 85%);
    filter: blur(6px);
}

/* Smaller logo version */
.logo-wrapper.small {
    width: 340px;
    height: 340px;
}

.logo.small {
    width: 220px;
}

/* ===== LOGIN CARD ===== */
.login-card {
    margin-top: 20px;
    margin-bottom: 40px;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);

    padding: 30px;
    border-radius: 12px;

    width: min(420px, calc(100vw - 72px));

    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(214,177,95,0.28);
    box-shadow: 0 10px 26px rgba(0,0,0,0.28), inset 0 0 0 1px rgba(214,177,95,0.08);
}

/* Title */
.login-title {
    margin-bottom: 10px;
}

/* Form */
.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Inputs */
.login-form input {
    width: 100%;
    padding: 10px;

    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.2);

    background: rgba(255,255,255,0.05);
    color: white;
}

/* Button */
.login-btn {
    margin-top: 10px;

    padding: 10px;
    border-radius: 8px;
    border: none;

    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;

    cursor: pointer;
    transition: 0.2s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124,58,237,0.4);
}

/* Extra text */
.login-extra {
    margin-top: 12px;
    font-size: 13px;
    opacity: 0.7;
    text-align: center;
}

@media (max-width: 700px) {
    .logo-wrapper.small {
        width: 280px;
        height: 280px;
    }

    .logo.small {
        width: 178px;
    }
}

.status-message {
    width: 100%;
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    line-height: 1.4;
    text-align: left;
}

.status-error {
    color: #ffb4b4;
    background: rgba(255, 96, 96, 0.12);
    border-color: rgba(255, 96, 96, 0.35);
}

.status-info {
    color: #8cf8b0;
    background: rgba(77, 211, 127, 0.12);
    border-color: rgba(77, 211, 127, 0.3);
}

.resend-box {
    width: 100%;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(124,58,237,0.35);
    border-radius: 12px;
    background: rgba(124,58,237,0.12);
}

.resend-note {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.86);
    text-align: left;
}

.resend-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.resend-form input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.05);
    color: white;
}