/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* BODY */
body {
     min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../Image/bunga.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 30px;
    color: #fff;
}

/* OVERLAY */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* FORM CONTAINER */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    min-height: 100vh;
}

/* FORM CARD */
.attendance-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: 40px;
    width: 420px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
    
    animation: fadeUp 0.8s ease forwards;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* TITLE */
h2 {
    margin-bottom: 25px;
    color: #ffffff;
    font-size: 28px;
    font-family: 'Lobster Two', cursive;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5); /* Adding shadow to title */
    text-align: center;
}

/* INPUTS AND TEXTAREA */
input, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid rgba(4, 4, 4, 0.3);
    outline: none;
    background: rgba(57, 57, 57, 0.15);
    color: #fff;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #000000;
}

/* MESSAGE BOX */
.message {
    margin-bottom: 15px;
    font-weight: 600;
    color: red;
}

/* BUTTON STYLING */
button {
    
    display:block;
    margin:auto;
    padding:12px 30px;
    background:#fff;
    border:none;
    border-radius:10px;
    font-weight:bold;
}

button:hover{
    transform:scale(1.05);
}

/* BACK BUTTON */

.back-btn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 18px;
    background: linear-gradient(135deg,#ff4d4d,#b30000);
    color:#fff;
    text-decoration:none;
    border-radius:8px;
    font-weight:600;
    transition: 0.3s;
}

.back-btn:hover {
    background:#fff;
    color:#b30000;
}

/* ANIMATIONS */
@keyframes fadeUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}