﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: ApexNew;
}

body {
    background-color: #fff;
}


@font-face {
    font-family: "ApexNew";
    src: url("/font/HansaApexNew-Book.woff2") format("woff2"),url("/font/HansaApexNew-Book.woff2") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "ApexNew";
    src: url("/font/HansaApexNew-Medium.woff2") format("woff2"),url("/font/HansaApexNew-Medium.woff2") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "ApexNew";
    src: url("/font/HansaApexNew-Bold.woff2") format("woff2"),url("/font/HansaApexNew-Bold.woff2") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

.filter-white {
    filter: invert(100%) sepia(0%) saturate(2%) hue-rotate(311deg) brightness(107%) contrast(100%);
    margin-right: 8px;
}

.filter-red {
    filter: invert(23%) sepia(95%) saturate(7126%) hue-rotate(358deg) brightness(97%) contrast(108%);
    margin-right: 8px;
}

.response-container {
    display: flex;
    background-color: #e8f4fa;
    padding: 15px;
    border-left: 5px solid #007BFF;
    margin-top: 20px;
    font-family: monospace;
    white-space: pre-wrap;
    min-width: 400px;
}

.response-container-success {
    display: flex;
    background-color: #e9f7ef;
    padding: 15px;
    border-left: 5px solid #28a745;
    margin-top: 20px;
    font-family: monospace;
    white-space: pre-wrap;
}

.response-container-error {
    display: flex;
    background-color: #f8d7da;
    padding: 15px;
    border-left: 5px solid #dc3545;
    margin-top: 20px;
    font-family: monospace;
    white-space: pre-wrap;
}

.exception-message {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    font-family: monospace;
    white-space: pre-wrap;
    text-align: center;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    font-size: 16px;
    font-weight: bold;
    max-width: 100%;
    word-break: break-word;
    border-radius: 6px;
    box-sizing: border-box;
}

.input-validation-message {
    color: #ed1c24;
    font-size: 14px;
    margin-top: 5px;
    text-align: left;
    width: 100%;
}

















/*html {
    padding: 0;
    margin: 0;
    line-height: 1.375rem;
    color: #393939;
    font-family: 'ApexNew';
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-color: #f2f2f2;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow-x: hidden;*/ /* Förhindrar horisontell scroll */
/*}

@font-face {
    font-family: "ApexNew";
    src: url("/font/HansaApexNew-Book.woff2") format("woff2"),url("/font/HansaApexNew-Book.woff2") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "ApexNew";
    src: url("/font/HansaApexNew-Medium.woff2") format("woff2"),url("/font/HansaApexNew-Medium.woff2") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "ApexNew";
    src: url("/font/HansaApexNew-Bold.woff2") format("woff2"),url("/font/HansaApexNew-Bold.woff2") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

.filter-white {
    filter: invert(100%) sepia(0%) saturate(2%) hue-rotate(311deg) brightness(107%) contrast(100%);
    margin-right: 8px;
}

.filter-red {
    filter: invert(23%) sepia(95%) saturate(7126%) hue-rotate(358deg) brightness(97%) contrast(108%);
    margin-right: 8px;
}

.response-container {
    display: flex;
    background-color: #e8f4fa;
    padding: 15px;
    border-left: 5px solid #007BFF;
    margin-top: 20px;
    font-family: monospace;
    white-space: pre-wrap;
    min-width: 400px;
}

.response-container-success {
    display: flex;
    background-color: #e9f7ef;
    padding: 15px;
    border-left: 5px solid #28a745;
    margin-top: 20px;
    font-family: monospace;
    white-space: pre-wrap;
    min-width: 400px;
}

.response-container-error {
    display: flex;
    background-color: #f8d7da;
    padding: 15px;
    border-left: 5px solid #dc3545;
    margin-top: 20px;
    font-family: monospace;
    white-space: pre-wrap;
    min-width: 400px;
}

.maincontent {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 100%;
    min-height: 400px;
    background-color: #f2f2f2;
}

.maincontent-form {
    width: 100%;
    max-width: 400px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.maincontent-input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.maincontent-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: #f9f9f9;
}

.maincontent-input:focus {
    outline: none;
    border-color: #ed1c24;
}

.maincontent-btn {
    background-color: #ed1c24;
    border: 0;
    width: 335px;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    height: 54px;
    border-radius: 10px;
    font-size: 1rem;
    line-height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding-top: .1875rem;
    transition: all .2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.maincontent-btn:hover {
    background-color: #d11a1f;
}

.maincontent h2 {
    font-size: 1.75rem;
    line-height: 2rem;
}

*/



