*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    -webkit-tap-highlight-color:transparent;
}

body{
    background:#0f172a;
    color:#fff;
    font-family:Arial,sans-serif;
    font-size:14px;
    line-height:1.4;
    overflow-x:hidden;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    max-width:100%;
    display:block;
}

input,
button,
select,
textarea{
    font-family:Arial,sans-serif;
}

button{
    cursor:pointer;
}

/* MAIN CONTAINER */

.main{
    width:100%;
    max-width:500px;
    margin:0 auto;
}

/* CARD */

.card{
    background:#1e293b;
    border-radius:14px;
    padding:14px;
}

/* BUTTONS */

.btn{
    height:46px;
    border:none;
    border-radius:12px;
    padding:0 16px;
    font-size:14px;
    font-weight:bold;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.btn-primary{
    background:#f97316;
    color:#fff;
}

.btn-dark{
    background:#1e293b;
    color:#fff;
}

/* INPUTS */

.input-box{
    margin-bottom:14px;
}

.input-box input,
.input-box select,
.input-box textarea{
    width:100%;
    border:none;
    outline:none;
    background:#0f172a;
    color:#fff;
    border-radius:12px;
    padding:0 14px;
    font-size:14px;
}

.input-box input,
.input-box select{
    height:48px;
}

.input-box textarea{
    min-height:90px;
    padding-top:12px;
    resize:none;
}

.input-box input::placeholder,
.input-box textarea::placeholder{
    color:#64748b;
}

/* AUTH PAGES */

.auth-page{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:16px;
}

.auth-box{
    width:100%;
    max-width:380px;
    background:#1e293b;
    border-radius:18px;
    padding:24px 18px;
}

.auth-title{
    text-align:center;
    font-size:28px;
    font-weight:bold;
    color:#f97316;
    margin-bottom:8px;
}

.auth-sub{
    text-align:center;
    color:#94a3b8;
    font-size:14px;
    margin-bottom:22px;
}

.auth-btn{
    width:100%;
    height:48px;
    border:none;
    border-radius:12px;
    background:#f97316;
    color:#fff;
    font-size:14px;
    font-weight:bold;
}

.bottom-link{
    margin-top:18px;
    text-align:center;
    color:#94a3b8;
    font-size:13px;
}

.bottom-link a{
    color:#f97316;
}

.register-note{
    margin-top:14px;
    color:#94a3b8;
    text-align:center;
    font-size:12px;
    line-height:1.5;
}

/* NOTIFY */

.rmenu{
    background:#3b1d1d;
    border:1px solid #ef4444;
    color:#fecaca;
    padding:12px 14px;
    border-radius:12px;
    font-size:13px;
    margin-bottom:16px;
    line-height:1.5;
}

/* TOPBAR */

.topbar{
    height:56px;
    background:#111827;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 14px;
    border-bottom:1px solid #1e293b;
}

.logo{
    color:#f97316;
    font-size:20px;
    font-weight:bold;
}

.login-btn,
.top-btn{
    background:#f97316;
    color:#fff;
    padding:9px 14px;
    border-radius:10px;
    font-size:13px;
    font-weight:bold;
}

/* FOOTER */

.footer{
    padding:20px 10px;
    text-align:center;
    background:#111827;
    border-top:1px solid #1e293b;
}

.footer a{
    color:#94a3b8;
    margin:0 8px;
    font-size:13px;
}

/* BOTTOM NAV */

.bottom-nav{
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    max-width:500px;
    margin:auto;
    background:#111827;
    border-top:1px solid #1e293b;
    display:flex;
    justify-content:space-around;
    padding:10px 0;
    z-index:20;
}

.bottom-nav a{
    color:#64748b;
    text-align:center;
    font-size:11px;
}

.bottom-nav .active{
    color:#f97316;
}

.nav-icon{
    display:block;
    font-size:18px;
    margin-bottom:2px;
}

/* COMMON TEXT */

.muted{
    color:#94a3b8;
}

.orange{
    color:#f97316;
}

.green{
    color:#22c55e;
}

.hide{
    display:none;
}
/* badge */
.nav-inbox-link{
position:relative;
}

.nav-icon{
position:relative;
}

.pm-inbox-badge{
position:absolute;
top:-2px;
right:-12px;

min-width:16px;
height:16px;

padding:0 4px;

background:#ef4444;
color:#fff;

border-radius:20px;

font-size:9px;
line-height:16px;
font-style:normal;
font-weight:bold;

text-align:center;
}

.pm-notify-toast{
position:fixed;

top:70px;
left:50%;

transform:translateX(-50%);

width:calc(100% - 28px);
max-width:460px;

background:#1e293b;

border:1px solid rgba(249,115,22,.35);

border-radius:16px;

padding:10px;

display:flex;
align-items:center;
gap:10px;

z-index:9999;

box-shadow:0 12px 34px rgba(0,0,0,.35);

animation:pmSlideDown .25s ease;
}

.pm-notify-toast img{
width:38px;
height:38px;

border-radius:50%;

object-fit:cover;

background:#0f172a;
}

.pm-notify-toast b{
display:block;

color:#f97316;

font-size:13px;

margin-bottom:2px;
}

.pm-notify-toast span{
color:#cbd5e1;

font-size:12px;
}

@keyframes pmSlideDown{
from{
opacity:0;
transform:translate(-50%,-12px);
}

to{
opacity:1;
transform:translate(-50%,0);
}
}
/* end of badge */