@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/roboto-v50-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/material-icons-v145-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/material-symbols-outlined-v303-latin-regular.woff2') format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Standardgröße */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Unterstützung für Browser-Rendering */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;

  /* Spezifisch für Symbols: Erlaubt das Steuern von Fill, Weight, Grade und Optical Size */
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}

html, body {
    height: 100%;
    width: 100%;
}

.body-terms {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #167BA8; /* Dunkler Hintergrund */
    position: relative;
    overflow: hidden;
}

.body-fork {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    background-color: #2f384e;
    background-image: url('background.png');
    background-position: bottom right;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2f384e;
    background-image: url('background.png');
    background-position: bottom right;
    background-repeat: no-repeat;
    z-index: 1000;
}

.modal-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    padding: 3em;
    text-align: left;
    box-sizing: border-box;
}

.modal-header {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    padding-bottom: 2em;
}

.modal-header-sub {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.modal-header-toolsname {
    font-size: 2em;
    color: #6c757d;
    margin-bottom: 5px;
}

.fork-modal-header-toolsname {
    font-size: 1.5em;
    color: #6c757d;
    margin-bottom: 1em;
}

.modal-header-welcome {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 25px;
}

.fork-header {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fork-modal-header-welcome {
    font-size: 2em;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 25px;
    color: #FFF;
    text-align: center;
}

.modal-body-text {
    font-size: 0.95em;
    color: #495057;
    line-height: 1.6;
}

.fork-modal-body-text {
    font-size: 1.2em;
    color: #FFF;
    line-height: 1.6;
    text-align: center;
}

.modal-body-offset-text {
    margin-top: 1em;
    font-size: 0.8em;
    color: #495057;
}

.modal-header-konnektor-icon {
    background-image: url('secunet_konnektor_icon.png');
    width: 96px;
    height: 96px;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    padding-right: 1em;
    align-self: center;
    margin-top: 1em;
    margin-bottom: 1em;
}

.modal-header-tig-icon {
    background-image: url('secunet_tig_icon.png');
    width: 96px;
    height: 96px;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    padding-right: 1em;
    align-self: center;
    margin-top: 1em;
    margin-bottom: 1em;
}

.terms-checkbox-container {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 15px;
    margin-top: 25px;
    margin-bottom: 25px;
    text-align: left;
}

.terms-checkbox-container label {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    color: #343a40;
}

.terms-checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #007bff; /* Farbe des Hakens */
}

.terms-checkbox-container a {
    color: #007bff;
    text-decoration: none;
}

.terms-checkbox-container a:hover {
    text-decoration: underline;
}

.fork-login-button {
    background-color: #6c757d; /* Grau, wenn deaktiviert */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 25px;
    font-size: 1em;
    cursor: not-allowed;
    /* width: fit-content; */
    box-sizing: border-box;
    margin-top: 12px;
    text-decoration: none;
    text-align: center;
}

.fork-login-button:not([disabled]) {
    background-color: #167BA8; /* Blau, wenn aktiviert */
    cursor: pointer;
}

.fork-login-button:not([disabled]):hover {
    background-color: #167BA8;
}

.login-button {
    background-color: #6c757d; /* Grau, wenn deaktiviert */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 25px;
    font-size: 1em;
    cursor: not-allowed;
    width: 100%;
    box-sizing: border-box;
    margin-top: 12px;
}

.login-button:not([disabled]) {
    background-color: #167BA8; /* Blau, wenn aktiviert */
    cursor: pointer;
}

.login-button:not([disabled]):hover {
    background-color: #167BA8;
}

.modal-footer {
    margin-top: 30px;
    font-size: 0.85em;
    text-align: center;
}

.modal-footer a {
    color: #6c757d;
    text-decoration: none;
    margin: 0 10px;
}

.fork-modal-footer {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.fork-modal-footer a {
    color: #FFF;
    text-decoration: none;
    margin: 0 10px;
}

.modal-footer a:hover {
    text-decoration: underline;
}

.fork-title {
}

.fork-subject {
}

.fork-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 24px;
}

.fork-menu-item-ti-tools {
    background: #FFFFFF;
    padding: 3em;
    max-width: 30%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fork-menu-item-base-tools {
    background: #FFFFFF;
    padding: 3em;
    max-width: 30%;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.fork-menu-item-title {
}

.fork-menu-item-subject {
}

.fork-menu-item-icon {
}

.fork-menu-item-link {
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
    .modal-container {
        padding: 20px;
    }
    .modal-header h1 {
        font-size: 1.8em;
    }
    .login-button {
        padding: 10px 20px;
        font-size: 0.95em;
    }
}