
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0b1220;
    color: white;

    background-image: url('./img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


body.dashboard-body {
    background-image: url('./img/bg_dashbord.jpg') !important;
}

body.dashboard-body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2, 6, 23, 0.85);
    z-index: -1;
}


.welcome-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(30, 58, 138, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.welcome-header h1 {
    font-size: 24px;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.content {
    flex: 1;
    padding: 30px;
}


.sidebar {
    width: 240px;
    background: #050b18;
    padding: 20px;
    border-left: 2px solid #1e3a8a;
    height: 100vh;
    position: sticky;
    top: 0;
}

.sidebar h2 {
    text-align: center;
    color: #60a5fa;
    margin-bottom: 25px;
    font-size: 18px;
}

.sidebar a {
    display: block;
    background: #0f172a;
    padding: 12px;
    margin-bottom: 10px;
    text-decoration: none;
    color: white;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
}

.sidebar a:hover {
    background: #1e40af;
    transform: scale(1.05);
}


.card {
    background: rgba(15, 23, 42, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #1e293b;
    padding: 12px;
    text-align: center;
}

th {
    background: #1e3a8a;
    color: white;
}


input, select, button {
    padding: 12px;
    width: 100%;
    margin: 8px 0;
    border: 1px solid #1e293b;
    border-radius: 8px;
    background: #1e293b;
    color: white;
    box-sizing: border-box; 
}

button {
    background: #2563eb;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

button:hover {
    background: #1d4ed8;
}