body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f3f5;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    width: 50%;
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500; /* less bold, gives a modern feel */
    color: #555; /* Darker for more contrast */
    font-size: 1em;
}

.form-group input {
    width: calc(100% - 24px);
    padding: 12px;
    border: 1px solid #e0e0e0; /* lighter border */
    border-radius: 15px;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    border-color: #007BFF;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.1); /* subtle shadow */
}

.form-group button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 15px;
    background-color: #007BFF;
    color: #fff;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.form-group button:hover {
    background-color: #0056b3;
    transform: scale(1.02); /* subtle grow effect */
}

.row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.col {
    flex: 1;
    min-width: 100px;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    .col {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.error-message {
    color: #d9534f; /* brighter red */
    font-size: 0.9em;
    margin-top: 5px;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 20px; /* reduced padding for a tighter header */
    border-bottom: 1px solid #e0e0e0; /* adds a subtle separator */
}

.logo {
    width: 100px;
    height: auto;
    margin-bottom: 10px; /* slightly reduced margin */
}

.title {
    font-size: 1.8em; /* made title slightly larger */
    margin: 0;
    color: #333; /* Darker color */
}


/* ... (existing styles) ... */



.invoice-details {
    display: flex;
    justify-content: space-between;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.invoice-details .left-column,
.invoice-details .right-column {
    width: 48%;
}

.invoice-details p {
    margin-bottom: 10px;
    font-size: 1em;
    color: #555;
}


.button-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.button-group .invoice-btn {
    flex: 1;
    padding: 15px;
    font-size: 1.2em;
    border: none;
    border-radius: 25px; /* Increased border-radius */
    background-color: #007BFF;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Added box-shadow */
    display: flex;
    align-items: center;
    justify-content: center; /* Center the text and icon */
}

.button-group .invoice-btn:hover {
    background-color: #0056b3;
    transform: scale(1.02);
}

.button-group .invoice-btn i {
    margin-right: 10px;
    font-size: 1.5em; /* Adjusted icon size */
}


.start-again {
    text-align: center;
}

.start-again button {
    padding: 10px 20px;
    font-size: 1em;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.start-again button:hover {
    background-color: #e0e0e0;
}
