.formular-parent {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.formular-form {
	background-color: var(--bck-surface-color2);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.formular-form div {
  	margin-bottom: 15px;
}
.formular-form label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
}
.formular-form input[type="text"],
.formular-form input[type="email"],
.formular-form select,
.formular-form textarea {
	width: 100%;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
}
.formular-form textarea {
  	min-height: 100px;
}
.formular-form input[type="submit"] {
	background: #007bff;
	color: white;
	border: none;
	padding: 10px 15px;
	border-radius: 4px;
	cursor: pointer;
}
.formular-form input[type="submit"]:hover {
  	background: #0056b3;
}


.formular-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.formular-content h2 {
    text-align: center;
}

label {
    display: inline-block;
    width: 100px;
    align-items: center;
    height: 36px;
    margin-right: 1rem;
    text-align: left;
    padding-top: 0.5rem;
}
.long-label {
    width: 200px;
}

input[type="text"],
input[type="email"],
textarea {
    flex: 1;
    width: calc(100% - 150px);
    padding: 0.5rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    background-color: var(--bck-surface-color2);
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    color: var(--text-primary-color);
}

textarea {
    width: 100%;
    min-height: 100px;
    margin-top: 0.5rem;
    display: block;
}

button[type="submit"] {
  display: block;
  min-width: 30%;
  padding: 0.75rem;
  margin-top: 1rem;
  background-color: var(--button-submit-color);
  color: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button[type="submit"]:hover {
  opacity: 0.9;
}

button[type="submit"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.error-message {
    color: red;
    display: block;
    font-size: 0.8em;
    margin-top: 0.25rem;
}

.success-message {
    color: var(--text-success-color);
    margin-top: 1rem;
}

.expandable-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.expandable-text h3 {
    cursor: pointer;
    margin-top: 1rem;
}

.expandable-text div {
    margin-top: 0.5rem;
    gap: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
}

.toggle-icon {
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

@media (max-width: 600px) {
    label {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.25rem;
    }

    input[type="text"],
    input[type="email"] {
        width: 100%;
    }
}
