*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #2193b0 100%);
    background-attachment: fixed;
    color: white; 
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

nav{
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

nav .logo{
    color: white;
    font-size: 24px;
    font-weight: 700;
}

nav .logo::before {
    content: "Base 🚛 ";
}

nav ul{
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a{
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover{
    color: #00d2ff;
}

nav ul li a[href*="logout"] {
    color: #ff6b6b;
    font-weight: bold;
}

.hero{
    height: 90vh;
    background: linear-gradient(rgba(30, 60, 114, 0.6), rgba(33, 147, 176, 0.6)), 
                url('img/cleaning.jpg') center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content h1{
    font-size: 50px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.btn{
    display: inline-block;
    padding: 12px 28px;
    background: #00d2ff;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
    text-align: center;
}

.btn:hover{
    background: white;
    color: #1e3c72;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

section, .dashboard{
    padding: 50px 8%;
}

.section-title h2, .dashboard-title h1{
    font-size: 32px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    margin-bottom: 25px;
}

.card-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
}

.card{
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: 0.3s;
    text-align: center;
    color: white;
}

.card:hover{
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.22);
}

.card h3 {
    color: white !important;
    margin-bottom: 10px;
}

.card p{
    color: #00d2ff;
    font-size: 45px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.card .btn {
    margin-top: 15px;
}

.form-container{
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    max-width: 600px;
    margin: 30px auto;
}

.form-group{
    margin-bottom: 20px;
}

.form-group label{
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: white;
}

.form-control, select.form-control{
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    outline: none;
    color: white !important;
    font-size: 14px;
    transition: 0.3s;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus, select.form-control:focus{
    border-color: #00d2ff;
    background: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

select.form-control option {
    background-color: #2a5298 !important; 
    color: white !important;             
    padding: 12px;
}

.form-container .btn {
    width: 100%;
    margin-top: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

table th {
    background: rgba(255, 255, 255, 0.2); 
    color: white !important;
    padding: 15px;
    font-size: 15px;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 14px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95) !important;
    vertical-align: middle;
}

table tr:hover {
    background: rgba(255, 255, 255, 0.12);
}

table td:last-child {
    display: flex;
    gap: 8px; 
    justify-content: flex-start;
}

.btn-edit, .btn-hapus {
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn-edit { background: #ffc107; color: #222; }
.btn-hapus { background: #ff4b2b; color: white; }

.btn-edit:hover, .btn-hapus:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

@media(max-width:768px){
    nav{ flex-direction: column; gap: 15px; }
    .hero-content h1{ font-size: 35px; }
    section, .dashboard{ padding: 30px 5%; }
}

footer{
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    color: rgba(255, 255, 255, 0.6);
    text-align: center; /* Mengunci tulisan hak cipta pas di tengah bawah */
    padding: 20px;
    margin-top: auto;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    position: relative;
    z-index: 10;
}
.demo-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px dashed rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 12px;
    margin-top: 25px;
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.demo-box h3 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.demo-box p {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.7);
}

.demo-box p strong {
    color: #ffffff;
}

.btn-selengkapnya {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px;
    margin-top: 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-selengkapnya:hover {
    background: rgba(255, 255, 255, 0.15);
}

.created-by {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    margin-top: 20px;
    font-weight: 500;
}