@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');

body {
    margin: 0;
    height: 100vh;
    background-size: contain;
    background-color: #000;
    font-family: 'Orbitron', monospace;
    color: #e0e0e0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.panel {
    width: 420px;
    background: rgba(20, 0, 30, 0.95);
    border: 1px solid #6a0dad;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 0 30px rgba(186,85,211,0.45);
    text-align: center;
}

h1 {
    color: #d8b0ff;
    font-size: 20px;
    text-shadow: 1px 1px 4px #5d3fd3, -1px -1px 4px #a76dff;
    margin: 0 0 14px;
}

.manual {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.manual input {
    width: calc(100% - 20px);
    margin: 8px 0;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    color: #fff;
    font-size: 14px;
}

.manual .row { display: flex; gap: 8px; }
.manual button { flex: 1; padding: 10px; border-radius: 8px; border: none; cursor: pointer; color: white; font-weight: 600; }
.btn-login { background: #238636; }
.btn-signup { background: #b04d4d; }

.btn-forgot {
    background: #6a0dad;
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease;
}

.btn-forgot:hover { background: #8e33ff; }
.small { font-size: 12px; color: #bdb3d8; margin-top: 10px; }

.manual button {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    color: white;
    font-weight: 600;
    transition: all 0.15s ease;
}

/* Hover Effect */
.btn-login:hover { background: #2ea043; }
.btn-signup:hover { background: #d65c5c; }

/* Click / Press Effect */
.manual button:active {
    transform: scale(0.96);
    box-shadow: 0 0 8px rgba(255,255,255,0.2) inset;
}

/* Disabled State */
.manual button:disabled {
    background: #555 !important;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.spinner {
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-right: 6px;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-box {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #b04d4d;
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 0 15px rgba(255,0,0,0.4);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.error-box.show {
    opacity: 1;
    bottom: 50px;
}

.hidden {
    display: none;
}

