body {
    margin:0;
    font-family:'Titillium Web',sans-serif;
    color:#fff;
    background:#000;
}

.bg-overlay {
    position:fixed;
    inset:0;
    background:url('../background.jpg') center center no-repeat;
    background-size:cover;
    filter:brightness(0.45);
    z-index:-2;
}

.bg-overlay::after {
    content:'';
    position:absolute;
    inset:0;
    background:radial-gradient(circle at top,rgba(255,153,0,0.3),transparent 60%);
}

.up-wrapper {
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
}

.up-card {
    width:720px;
    background:rgba(10,10,10,0.92);
    border:1px solid rgba(255,153,0,0.5);
    box-shadow:0 0 25px rgba(0,0,0,0.8);
    border-radius:8px;
    padding:25px 30px 30px;
}

/* 🔥 LOGO GLOW - L2 LOTUS GOLDEN SHINE */
.up-logo {
    text-align:center;
    margin-bottom:15px;
}

.up-logo img {
    width:120px;
    height:120px;
    max-width:120px;
    border-radius:50%;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 40px rgba(255, 215, 0, 0.4),
        0 0 60px rgba(255, 215, 0, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.up-logo img:hover {
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.8),
        0 0 60px rgba(255, 215, 0, 0.6),
        0 0 90px rgba(255, 215, 0, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.up-title {
    text-align:center;
    font-size:20px;
    letter-spacing:2px;
    margin:5px 0 15px;
    text-transform:uppercase;
    color:#ffa733;
}

.up-tabs {
    display:flex;
    gap:4px;
    margin-bottom:15px;
}

.up-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 40px;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255, 153, 0, 0.35);
    background: rgba(20, 20, 20, 0.95);
    color: #fff;
    cursor: pointer;
}

.up-tab-btn.active {
    background:linear-gradient(90deg,#ff9900,#ffcc33);
    color:#111;
    border-color:#ffcc33;
    font-weight:600;
}

.up-flash {
    margin-bottom:10px;
    padding:8px 10px;
    border-radius:4px;
    font-size:13px;
    text-align:center;
}

.up-flash.ok {
    background:rgba(0,160,80,0.9);
}

.up-flash.fail {
    background:rgba(180,40,40,0.9);
}

.up-group {
    margin-bottom:10px;
}

.up-group label {
    display:block;
    font-size:13px;
    margin-bottom:4px;
}

.up-group input {
    width:100%;
    padding:8px 9px;
    background:#141414;
    border:1px solid #333;
    color:#fff;
    font-size:13px;
}

.up-btn {
    width:100%;
    padding:9px 0;
    margin-top:5px;
    background:linear-gradient(90deg,#ff9900,#ffcc33);
    border:none;
    color:#111;
    font-weight:600;
    text-transform:uppercase;
    cursor:pointer;
}

.up-small {
    font-size:12px;
    opacity:0.8;
    margin-top:6px;
    text-align:center;
}

.up-logout {
    margin-top:10px;
    text-align:center;
}

.up-logout button {
    background:none;
    border:none;
    color:#ffcc33;
    cursor:pointer;
    font-size:12px;
    text-decoration:underline;
}

table.up-table {
    width:100%;
    border-collapse:collapse;
    margin-top:8px;
    font-size:12px;
}

table.up-table th, table.up-table td {
    border:1px solid #333;
    padding:4px 6px;
    text-align:left;
}

table.up-table th {
    background:rgba(255,153,0,0.12);
}

.up-badge-online {
    color:#4cff4c;
    font-weight:600;
}

.up-badge-offline {
    color:#ff6666;
    font-weight:600;
}

.up-btn-small {
    padding:4px 6px;
    font-size:11px;
    width:auto;
    margin:0;
}

/* Character list styling */
.chars-list { margin-top: 15px; }
.char-item { 
    background: rgba(255,255,255,0.1); 
    padding: 12px; 
    margin: 8px 0; 
    border-radius: 8px; 
    border-left: 4px solid #ffd700;
}
.up-account-info h3 { color: #ffd700; margin-bottom: 15px; }
.up-account-info p { margin: 8px 0; }
.donate-info, .stream-info { text-align: center; padding: 30px; color: #888; }
.donate-info h3, .stream-info h3 { color: #ffd700; margin-bottom: 10px; }

/* 🔥 LOGIN 2-BUTTONS ROW */
.login-buttons-row {
    margin-top:15px !important;
    gap:0 !important;
    display:flex !important;
    width:100% !important;
}

.login-submit, .reset-submit {
    flex:1 !important;
    height:48px !important;
    padding:12px !important;
    font-size:14px !important;
    line-height:1.5 !important;
    box-sizing:border-box !important;
    margin:0 !important;
    border-radius:8px !important;
}

.login-submit {
    background:linear-gradient(90deg,#ff9900,#ffcc33) !important;
    color:#111 !important;
    border:2px solid #ffcc33 !important;
    font-weight:600 !important;
}

.reset-submit {
    background:rgba(20,20,20,0.95) !important;
    color:#fff !important;
    border:2px solid rgba(255,153,0,0.6) !important;
}

/* 🔥 RESET TAB STYLES */
.reset-container {
    background:#333;
    padding:30px;
    border-radius:20px;
    margin:20px 0;
    border:3px solid #ffd700;
    box-shadow:0 10px 30px rgba(255,215,0,0.3);
}

.reset-step {
    display:none;
}

.reset-step.active {
    display:block !important;
}

.account-item {
    display:flex;
    align-items:center;
    padding:20px;
    margin:15px 0;
    background:#444;
    border-radius:15px;
    cursor:pointer;
    transition:all 0.3s;
    border-left:5px solid #ffaa00;
}

.account-item:hover {
    background:#555;
    transform:translateX(10px);
    box-shadow:0 5px 20px rgba(255,170,0,0.3);
}

.account-radio {
    width:22px;
    height:22px;
    margin-right:20px;
    transform:scale(1.3);
}

.account-info h4 {
    color:#ffd700;
    margin:0 0 5px 0;
    font-size:18px;
}

.account-info small {
    color:#ccc;
    font-size:14px;
}

.reset-success {
    background:linear-gradient(135deg,#2d5a2d,#1a3d1a);
    color:#90EE90;
    padding:25px;
    border-radius:15px;
    text-align:center;
    margin:20px 0;
    border-left:5px solid #90EE90;
}

.reset-error {
    background:linear-gradient(135deg,#5a2d2d,#3d1a1a);
    color:#ff6666;
    padding:25px;
    border-radius:15px;
    text-align:center;
    margin:20px 0;
    border-left:5px solid #ff4444;
}

.reset-title {
    color:#ffd700;
    text-align:center;
    font-size:22px;
    margin-bottom:20px;
}

.reset-btn-submit:hover {
    transform:translateY(-2px) !important;
    box-shadow:0 8px 25px rgba(255,68,68,0.4) !important;
}

/* 🔥 RESET & LOGIN BUTTON OVERRIDES - ΥΨΗΛΗ ΠΡΟΤΕΡΑΙΟΤΗΤΑ */
#tab-login div[class*="login-buttons-row"] button[type="submit"],
#tab-login .login-submit {
    flex:1 !important;
    background:#ffaa00 !important;
    color:#000 !important;
    border:none !important;
    padding:14px 0 !important;
    font-weight:700 !important;
    text-transform:uppercase !important;
    font-size:14px !important;
    border-right:2px solid #ffd700 !important;
    border-radius:0 !important;
    box-shadow:none !important;
}

#tab-login div[class*="login-buttons-row"] button[type="button"],
#tab-login .reset-submit {
    flex:1 !important;
    background:#000 !important;
    color:#fff !important;
    border:2px solid #ffaa00 !important;
    padding:14px 0 !important;
    font-weight:700 !important;
    text-transform:uppercase !important;
    font-size:14px !important;
    border-left:2px solid #ffaa00 !important;
    border-radius:0 !important;
    box-shadow:none !important;
}

#tab-reset .reset-btn,
#tab-reset button.up-btn.reset-btn-submit {
    all: unset !important;
    display: block !important;
    width: 100% !important;
    background: linear-gradient(45deg,#ff4444,#cc0000) !important;
    color: #fff !important;
    border: 2px solid #ff4444 !important;
    padding: 18px 0 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    margin-top: 15px !important;
    font-family: 'Titillium Web', sans-serif !important;
    transition: all 0.3s ease !important;
}
