/* General Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

/* Form Block */
#form-block {
    padding: 30px;
    background: #f4f7fb;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Half-Width Blocks */
#form-block-half {
    display: inline-block;
    width: 48%;
    margin-right: 4%;
    vertical-align: top;
    margin-bottom: 20px;
}

/* Remove right margin for the last element */
#form-block-half:last-child {
    margin-right: 0;
}

/* Button Block */
#button-block {
    margin-top: 20px;
    text-align: center;
}

/* Input Fields */
input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Focus States */
input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

/* Submit Button */
input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover State for Submit Button */
input[type="submit"]:hover {
    background-color: #45a049;
}

/* Cancel Button */
.cancel-btn {
    background-color: red;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    margin-left: 15px;
    transition: background-color 0.3s ease;
}

/* Hover State for Cancel Button */
.cancel-btn:hover {
    background-color: #e53935;
}

/* Add spacing between labels and inputs */
label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    font-size: 14px;
    color: #333;
}

/* Responsive Layout */
@media (max-width: 768px) {
    #form-block-half {
        width: 100%;
        margin-right: 0;
    }
}

/* Overall Page Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f7f8fc;
    margin: 0;
    padding: 0;
    color: #333;
}

h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
} 