body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.navbar {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar img {
    height: 50px; /* Adjust the height as needed */
    margin-right: 15px;
}

.company-name {
    font-family: 'Comfortaa', cursive;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.container {
    max-width: 800px; /* Increase maximum width for larger screens */
    margin: 20px auto;
    padding: 40px; /* Increase padding for better spacing */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
}

label {
    font-weight: 500;
    margin-top: 10px;
    display: block;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%; /* Ensures fields take full width of the container */
    max-width: 100%; /* Prevents overflow */
    box-sizing: border-box; /* Includes padding and border in element's total width */
    padding: 10px;
    margin: 5px 0 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

input[type="submit"] {
    background-color: #007bff; /* Bootstrap primary color */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

input[type="submit"]:hover {
    background-color: #0056b3; /* Darker shade for hover effect */
}

.preview-container {
    margin-top: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.flashes {
    list-style-type: none;
    padding: 0;
}

.flashes li {
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
    color: #fff;
}

.flashes .success {
    background-color: #28a745; /* Green */
}

.flashes .error {
    background-color: #dc3545; /* Red */
}

/* Responsive styles */
@media (max-width: 600px) {
    .container {
        margin: 10px;
        padding: 15px;
    }

    .navbar {
        padding: 15px;
        justify-content: flex-start; /* Align items to the start */
    }

    .navbar img {
        height: 40px; /* Adjust for smaller screens */
        margin-right: 10px;
    }

    .company-name {
        font-size: 20px; /* Smaller font size for company name */
    }

    input[type="submit"] {
        width: 100%; /* Make the button full-width on small screens */
    }
}
