@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Display:ital,wght@0,100..900;1,100..900&display=swap");

/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
	box-sizing: border-box;
}
/*
  2. Remove default margin
*/
* {
	margin: 0;
}
/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
/*
  5. Improve media defaults
*/
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}
/*
  6. Remove built-in form typography styles
*/
input,
button,
textarea,
select {
	font: inherit;
}
/*
  7. Avoid text overflows
*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}
/*
  8. Create a root stacking context
*/
#root,
#__next {
	isolation: isolate;
}

body {
	font-family: "Noto Sans Display", sans-serif;
	font-size: 14px;
}

.form-header {
	background: #df0000;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 32px;
}

svg.mm-logo {
	height: 36px;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: calc(100vh - 116px);
    max-width: 600px;
    margin: 0 auto;
    text-wrap: balance;
}

main h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: left;
}

main > p {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 16px;
    text-wrap: balance;
    max-width: 600px;
}

p > a {
    color: #000;
    text-decoration: underline;
}

.korting-steps {
    list-style-type: decimal;
    padding-left: 16px;
}

.korting-steps li {
    margin-bottom:  8px;
}

.signup-form {
    margin-bottom: 32px;
    width: 100%;
}

.signup-form > form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.signup-form > form > label {
    font-size: 16px;
    font-weight: 500;
}

.signup-form > form > input {
    padding: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 80%;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 2px;
}

.checkbox-container label {
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
}

.signup-form > form > button {
    padding: 12px;
    width: 200px;
    background-color: #df0000;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    margin-bottom: 12px;
}

.signup-form > form > button:hover {
    background-color: #b30000;
}

.signup-form > form > button:active {
    background-color: #990000;
}

.signup-form > form > button:focus {
    outline: 2px solid #df0000;
}

.faq-container {
    margin-bottom: 32px;
}

.faq-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 16px;
}

.answer-with-list {
    margin-top: 2px;
    display: flex;
    align-items: flex-start;
}

.answer-with-list .bold {
    flex-shrink: 0;
    margin-top: 0;
}

.collapsible-list {
    margin-top: 0;
    flex: 1;
}

.bold {
    font-weight: 700;
}

.contact-form {
    margin-top: 32px;
}

.contact-form > p > a {
    color: #000;
    text-decoration: underline;
}

/* Message display styles */
.message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 12px;
    font-weight: 500;
    text-align: center;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    max-width: 80%;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    max-width: 80%;
}

.message.error a {
    color: #721c24;
    text-decoration: underline;
    font-weight: 500;
}

.message.error a:hover {
    color: #491217;
}

/* Form states */
.signup-form > form > button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

.signup-form > form > button:disabled:hover {
    background-color: #6c757d;
}

.signup-form > form > input:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Loading animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.signup-form > form > button:disabled {
    animation: pulse 1.5s infinite;
}

/* Form validation styles */
.signup-form > form > input:not(:placeholder-shown):invalid {
    border-color: #dc3545;
}

.signup-form > form > input:not(:placeholder-shown):valid {
    border-color: #28a745;
}

/* Collapsible list styles */
.collapsible-list {
    display: inline-block;
}

.toggle-btn {
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    text-decoration: underline;
}

.toggle-btn:hover {
    background: transparent;
    color: #666;
}

.toggle-icon {
    font-size: 10px;
    transition: transform 0.2s ease;
    margin-left: 8px;
    text-decoration: none;
}

.toggle-text {
    margin-top: -1px;
}

.toggle-btn.expanded .toggle-icon {
    transform: rotate(180deg);
    text-decoration: none;
}

.institutions-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border: 1px solid transparent;
    border-radius: 6px;
}

.institutions-list.expanded {
    max-height: 1200px;
    border: none;
    padding: 0;
    background: transparent;
    margin-bottom: 16px;
}

.institutions-list li {
    padding: 6px 0;
    border-bottom: none;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

.institutions-list li:last-child {
    border-bottom: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    main {
        padding: 0 16px;
    }
    
    .signup-form > form > input {
        width: 100%;
        min-width: auto;
    }
    
    main > h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    main > p {
        font-size: 14px;
        margin-bottom: 16px;
        padding: 0;
    }
}

