/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #2c3e50; /* Flat dark background */
    color: #000000; /* Light text for contrast */
}


/* KV Image Container */
.kv-image-container {
    text-align: center;
    margin-top: 10px; /* Mengurangi jarak antara gambar dan form */
}

.kv-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Optional: add rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.0); /* Optional: add shadow for image */
}


/* Form Styling */
form {
    max-width: 500px;
    margin: 10px auto;
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid #66a6ff;
    box-sizing: border-box; /* Ensure padding does not overflow width */
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

/* Label Styles */
label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #444;
    font-size: 14px;
}

/* Input and Select Styling */
input[type="text"], 
input[type="email"], 
select {
    width: 100%;
    box-sizing: border-box; /* Ensures padding does not affect width */
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f4f8ff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

input[type="text"]:focus, 
input[type="email"]:focus, 
select:focus {
    border-color: #66a6ff;
    box-shadow: 0 0 8px rgba(102, 166, 255, 0.5);
    outline: none;
}

/* Radio Button Styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.radio-group div {
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type="radio"] {
    accent-color: #66a6ff;
    cursor: pointer;
}

input[type="radio"]:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}

label {
    font-size: 16px;
    color: #555;
    cursor: pointer;
}

/* Button Styles */
button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background: linear-gradient(135deg, #66a6ff, #89f7fe);
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 166, 255, 0.5);
}

/* Form Shadow Animation */
form:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Placeholder Text Styling */
input::placeholder {
    color: #bebebe;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    form {
        padding: 20px;
        margin: 30px 15px;
    }
    h2 {
        font-size: 20px;
    }
    input[type="text"], 
    input[type="email"], 
    select {
        font-size: 14px;
    }
    button {
        font-size: 14px;
    }
}
