body, html {
    height: 100%;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #8BB423;
    padding: 10px 20px;
    color: white;
}

.top-bar-logo {
    height: 100px;
    margin-right: 20px;
}

.top-bar-text-container {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.top-bar-text-line {
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1.2;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.login-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-container h2 {
    margin-bottom: 30px;
    font-size: 1.8em;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #8BB423;
}

.form-btn {
    background-color: #8BB423;
    color: white;
    border: none;
    padding: 15px;
    width: 100%;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-btn:hover {
    background-color: #7aa31e;
}

.register-link {
    margin-top: 20px;
    font-size: 0.9em;
}

.register-link a {
    color: #8BB423;
    text-decoration: none;
    font-weight: bold;
}

.footer-logo {
    margin-top: 40px;
    max-width: 150px;
}

.registration-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 1200px; /* Wider container for the form */
}

.registration-container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
}

.form-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: #8BB423;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.full-width {
    grid-column: 1 / -1;
}

textarea.form-input {
    height: auto;
    resize: vertical;
    min-height: 50px;
}