/**
 * HNMC BFSG Tool-Kit frontend styles
 */

/* Skip link styles are added inline in PHP */
/* Focus indicator styles are added inline in PHP */
/* Accessibility Toolbar styles are added inline in PHP */
/* Footer Notice styles are added inline in PHP */

/* General accessibility improvements */
/* Improve readability for all users */
body {
    line-height: 1.5;
}

/* Improve color contrast for inputs */
input, select, textarea, button {
    border: 1px solid #767676; /* Minimum contrast ratio */
}

/* Ensure links are recognizable, but exclude buttons and navigation */
a {
    text-decoration: underline;
}

/* Ausnahmen für Button-Links und Navigation-Links */
a.button,
.button a,
button a,
nav a,
.nav a,
.navigation a,
.menu a,
.main-navigation a,
.navbar a,
a.nav-link,
header a,
.site-header a,
.header a,
.sub-menu a,
.menu-item a,
a.btn,
.btn a,
a[class*="btn"],
[class*="btn"] a,
[class*="button"] a,
a[class*="button"],
[role="button"] a,
a[role="button"] {
    text-decoration: none !important;
}

/* Improve form field accessibility */
input:focus, 
select:focus, 
textarea:focus, 
button:focus {
    /* Custom focus styles are added inline via PHP */
}

/* Ensure good spacing for clickable elements */
button, 
[role="button"], 
input[type="button"], 
input[type="submit"], 
input[type="reset"] {
    padding: 0.5em 0.75em;
    min-height: 44px; /* Minimum touch target size */
    min-width: 44px;
}

/* Make sure labels are properly associated with form controls */
label {
    display: inline-block;
    margin-bottom: 0.5em;
}