/* General Body Styling */
body {
    font-family: Arial, sans-serif;
    background: url('bromo.jpg') no-repeat center center / cover; /* Fullscreen background image */
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
}

/* Main Container Styling */
.container {
    display: flex;
    width: 900px;
    height: 700px;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Form Box (Left Section) */
.form-box {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

/* Form and Inputs */
form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Even spacing between form elements */
}

label {
    font-size: 14px;
    color: #555;
}

input, select, button {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

input:focus, select:focus {
    outline: none;
    border-color: #4a90e2; /* Highlight on focus */
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
}

button {
    background-color: #4a90e2;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #357abf;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Success and Error Messages */
.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

.error-message, .error-box {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

/* Actions Links */
.actions {
    text-align: center;
    font-size: 14px;
}

.actions a {
    color: #4a90e2;
    text-decoration: none;
}

.actions a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
    }

    .form-box {
        padding: 20px;
    }
}
