/* margin & padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(#f4f6f8);
    /*background: linear-gradient(135deg, #f5f7fa, #c3cfe2);*/
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
}

h2 {
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
    font-size: 26x;
    margin-bottom: 25px;
    color: #2c3e50;
}

/* Notifikasi */
.notif {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.notif.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notif.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Form styling */
form {
    background: #2c3e50;
    /*background: rgba(255, 255, 255, 0.9);*/
    padding: 25px;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    margin: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    margin-top: 15px;
    font-size: 14px;
    color: white;
}

input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Placeholder */
::placeholder {
    color: #999;
    font-size: 14px;
}

/* Tombol kirim */
button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #0056b3;
}

/* Responsif */
@media (max-width: 600px) {
    body {
        padding: 20px 10px;
    }

    form {
        padding: 20px;
    }
}
