/* General styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

h1 {
    font-size: 24px;
    color: #333; /* Changed from Gmail red */
    text-align: center;
    margin-bottom: 20px;
}

.form-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
}

.form-group {
    width: 100%;
    margin-bottom: 15px;
    padding: 0 10px; /* Add padding to ensure fields stay within the container */
    box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: inherit;
}

.form-group input, .form-group select, .form-group textarea {
    margin: auto;
    width: -webkit-fill-available;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit; /* Ensure font style matches */
    font-size: inherit;   /* Ensure font size matches */
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #667eea; /* Changed from Gmail red */
    outline: none;
}

.submit {
    text-align: center;
    margin-top: 20px;
}

.button-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.button-primary:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.notification {
    background-color: #d4edda; /* Success background color */
    color: #155724; /* Success text color */
    border: 1px solid #c3e6cb; /* Success border color */
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}

.notification.error {
    background-color: #f8d7da; /* Error background color */
    color: #721c24; /* Error text color */
    border: 1px solid #f5c6cb; /* Error border color */
}

.header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.button:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

/* Responsive styles */
@media (min-width: 768px) {
    .form-group {
        width: 48%;
    }
}

@media (min-width: 1024px) {
    .form-group {
        width: 30%;
    }
}
