*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial,Helvetica,sans-serif;
background:#050505;
color:#fff;
}

/* SIDEBAR */

.sidebar{
position:fixed;
left:0;
top:0;
width:260px;
height:100%;
background:#0d0d0d;
border-right:1px solid #222;
overflow:auto;
}

.sidebar-logo{
padding:20px;
text-align:center;
}

.sidebar-logo img{
width:100px;
height:auto;
display:block;
margin:auto;
}

.sidebar-logo h2{
margin-top:10px;
font-size:18px;
color:#ff2d55;
font-weight:bold;
}

.menu{
margin-top:20px;
}

.menu a{
display:block;
padding:15px 25px;
color:white;
text-decoration:none;
border-left:4px solid transparent;
transition:.2s;
}

.menu a:hover{
background:#181818;
border-left:4px solid #ff2d55;
}

.logout{
color:#ff5555 !important;
}

/* CONTENT */

.main{
margin-left:260px;
padding:35px;
}

.page-title{
font-size:42px;
font-weight:bold;
margin-bottom:30px;
color:white;
}

/* CARDS */

.card{
background:linear-gradient(
135deg,
#111111,
#1a0000
);
border:1px solid #2c0a0a;
border-radius:20px;
padding:30px;
margin-bottom:25px;
box-shadow:0 0 25px rgba(255,0,0,.15);
}

.card h2{
font-size:26px;
margin-bottom:15px;
color:#ff2d55;
}

.card h1{
font-size:50px;
}

/* FORMS */

input,
select,
textarea{
width:100%;
padding:14px;
background:#111;
border:1px solid #333;
color:white;
border-radius:12px;
margin-bottom:15px;
outline:none;
}

input:focus,
select:focus,
textarea:focus{
border:1px solid #ff2d55;
}

/* BUTTONS */

button{
background:#ff2d55;
color:white;
border:none;
padding:14px 25px;
border-radius:12px;
font-weight:bold;
cursor:pointer;
}

button:hover{
background:#ff1545;
}

/* TABLES */

table{
width:100%;
border-collapse:collapse;
background:#111;
border-radius:15px;
overflow:hidden;
}

table th{
background:#1b0000;
padding:15px;
text-align:left;
}

table td{
padding:15px;
border-bottom:1px solid #222;
}

/* LINKS */

.delete-btn{
color:#ff4444;
font-weight:bold;
text-decoration:none;
}

.delete-btn:hover{
color:#ff7777;
}

/* SCROLLBAR */

::-webkit-scrollbar{
width:8px;
}

::-webkit-scrollbar-track{
background:#111;
}

::-webkit-scrollbar-thumb{
background:#ff2d55;
border-radius:20px;
}

.btn-edit{
display:inline-flex;
align-items:center;
justify-content:center;
width:48px;
height:48px;
border-radius:50%;
background:#16a34a;
color:white;
text-decoration:none;
font-size:20px;
}

.btn-delete{
display:inline-flex;
align-items:center;
justify-content:center;
width:48px;
height:48px;
border-radius:50%;
background:#ff2222;
color:white;
text-decoration:none;
font-size:20px;
}

.btn-lock{
display:inline-flex;
align-items:center;
justify-content:center;
width:48px;
height:48px;
border-radius:50%;
border:2px solid #ffc107;
color:#ffc107;
text-decoration:none;
font-size:20px;
}

.btn-edit:hover,
.btn-delete:hover,
.btn-lock:hover{
transform:scale(1.08);
transition:.2s;
}

.btn-add{
position:absolute;
right:25px;
top:25px;
width:60px;
height:60px;
border-radius:50%;
background:#ff2222;
display:flex;
align-items:center;
justify-content:center;
font-size:28px;
color:white;
text-decoration:none;
box-shadow:0 0 20px rgba(255,0,0,.5);
}

/* USERS POPUP */

.modal{
display:none;
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,.85);
z-index:9999;
align-items:center;
justify-content:center;
backdrop-filter:blur(5px);
}

.modal-content{
width:650px;
max-width:90%;
background:linear-gradient(
135deg,
#111111,
#1a0000
);
border:1px solid #ff2d55;
border-radius:25px;
padding:35px;
position:relative;
box-shadow:0 0 50px rgba(255,0,0,.3);
animation:popup .25s ease;
max-height:90vh;
overflow:auto;
}

@keyframes popup{
from{
transform:scale(.8);
opacity:0;
}
to{
transform:scale(1);
opacity:1;
}
}

.modal{
display:none;
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,.85);
z-index:9999;
justify-content:center;
align-items:center;
}

.close-modal:hover{
color:#ff2d55;
}

.modal-title{
font-size:32px;
margin-bottom:25px;
color:#ff2d55;
font-weight:bold;
}

.success-popup{
display:none;
position:fixed;
left:50%;
top:50%;
transform:translate(-50%,-50%);
width:450px;
background:#07152a;
border-radius:20px;
padding:40px;
text-align:center;
z-index:10000;
box-shadow:0 0 40px rgba(0,0,0,.6);
}

.success-popup h2{
font-size:40px;
margin-top:20px;
margin-bottom:15px;
}

.success-popup p{
font-size:22px;
color:#ddd;
margin-bottom:30px;
}

.success-icon{
width:120px;
height:120px;
border:5px solid #27d38b;
border-radius:50%;
margin:auto;
display:flex;
align-items:center;
justify-content:center;
font-size:70px;
color:#27d38b;
}

.success-btn{
background:#8d65d9;
padding:14px 40px;
border-radius:10px;
font-size:18px;
}