.form-container {
    max-width: 400px; /* Adjust as needed */
    margin: 0 auto;
    padding: 20px;
    background: #ffffff; /* White background for contrast */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1); /* 3D shadow effect */
    transform: perspective(1px) translateZ(0); /* Improve rendering performance */
}

.styled-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Increased spacing for better appearance */
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-group {
    flex: 1;
    min-width: 0;
}

.form-group-half {
    flex: 1 1 48%;
}

.styled-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333; /* Darker text for contrast */
}

.styled-form input[type="text"],
.styled-form input[type="email"],
.styled-form input[type="date"],
.styled-form select {
    width: 100%;
    padding: 12px; /* Increased padding for a better feel */
    border: 1px solid #ddd;
    border-radius: 6px; /* Rounded corners for a softer look */
    font-size: 15px;
    background: #f9f9f9; /* Light background for inputs */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* Inner shadow for a 3D effect */
    transition: box-shadow 0.3s ease; /* Smooth transition effect */
}

.styled-form input[type="text"]:focus,
.styled-form input[type="email"]:focus,
.styled-form input[type="date"]:focus,
.styled-form select:focus {
    border-color: #4CAF50; /* Highlight color on focus */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); /* Outer glow effect on focus */
}

.submit-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px; /* Increased padding for the button */
    text-align: center;
    font-size: 16px; /* Larger font size for readability */
    cursor: pointer;
    border-radius: 6px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 3D shadow effect */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition effect */
}

.submit-button:hover {
    background-color: #45a049;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

.status-msg {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px; /* Adjust font size for status messages */
}

.status-msg.success {
    background-color: #d4edda;
    color: #155724;
}

.status-msg.error {
    background-color: #f8d7da;
    color: #721c24;
}
