/* Reset styles */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

@font-face {
    font-family: "SRGSSR";
    src: url('SRGSSRTypeVF_Text_W_Wght.woff2') format('woff2'),
  }

body {
    line-height: 1;
    background-color: #ffffff;
    font-family: "SRGSSR", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    font-size: 1em;
    margin: 0;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Custom styles */
h1 {
    margin: 1em 0;
    font-size: 1.3em;
    font-weight: bold;
}

td {
    padding: 10px 0;
}

.mainContainer,
.topTextContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mainContainer {
    margin: auto;
    max-width: 500px;
    padding: 0.5em;
}

.topTextContainer {
    margin-bottom: 1em;
    text-align: center;
}

.service {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#diagnoseTable {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0.3em;
    padding: 0.5em;
    margin-bottom: 1em;
    border: 1px solid grey;
}

#reportContainer {
    display: none;
    flex-direction: column;
    margin-top: 1em;
    align-items: center;
    justify-content: center;
}

.reportTextContainer {
    margin-bottom: 1em;
}

#userAgents {
    display: none;
}

.headers {
    background-color: #333333;
    height: 65px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#message {
    width: 100%;
}

#email,
#phone {
    align-self: flex-start;
}

#sendButton {
    background-color: #4c4c4c;
    color: white;
    border-radius: 0.3em;
    height: 35px;
    /* Reduced height */
    padding: 10px 20px;
    /* Maintained padding for a balanced look */
    cursor: pointer;
    border: none;
    margin: 10px 0;
    font-size: 1em;
    font-family: "SRGSSR", sans-serif;
    /* Set font size to normal */
}

#email,
#phone,
#message {
    border-radius: 0.3em;
    outline: none;
    padding: 0.2em 0.5em;
    box-sizing: border-box;
    margin-bottom: 1em;
    border: 1px solid grey;
    font-family: "SRGSSR", sans-serif;

}

.form-group {
    width: 100%;
    margin-bottom: 1em;
}

label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}

label span {
    color: red;
}

.titleValue {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.detailValue {
    font-weight: 200
}

.status {
    vertical-align: top;
}

.red {
    color: #AF001E;
    margin-right: 0.5em;
}

.green {
    color: #00af14;
    margin-right: 0.5em;
}

#confirmEmail {
    display: none;
    color: #00af14;
}

#recaptcha {
    align-self: flex-start;
    margin: 1em 0;
}

#formErrorMessage {
    font-size: 0.8em;
    color: #AF001E;
    margin: 1em 0;
    display: none;
}

/* Feedback button styles */
.feedback-button {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right center;
    background-color: #6b59f5;
    color: white;
    border: none;
    padding: 10px 20px 40px;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    font-size: 14px;
    z-index: 1000;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.feedback-button:hover {
    background-color: #6b59f5;
}

#typeformLink {
    text-decoration: none;
}