/* @font-face definitioner først */
@font-face {
    font-family: 'Euclid Circular B';
    src: url('../fonts/EuclidCircularB-Regular.woff2') format('woff2'),
         url('../fonts/EuclidCircularB-Regular.woff') format('woff'),
         url('../fonts/EuclidCircularB-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Euclid Circular B';
    src: url('../fonts/EuclidCircularB-Bold.woff2') format('woff2'),
         url('../fonts/EuclidCircularB-Bold.woff') format('woff'),
         url('../fonts/EuclidCircularB-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Grundlæggende reset og font familie */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Euclid Circular B', sans-serif;
}

html, body {
    height: 100%;
    font-family: 'Euclid Circular B', sans-serif;
}

/* Typografi */
small, p, h1, h2, h3, h4, h5, h6, ul, ol, li, blockquote, pre,
input, textarea, select, button {
    font-family: 'Euclid Circular B', sans-serif;
}

h1 {
    font-size: 30px;
    font-weight: bold;
    text-align: left;
}

p {
    font-size: 18px;
    text-align: left;
    color: #808080;
}

.terms p {
    font-size: 12px;
}

/* Loader */
.loader {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

svg {
    width: 100px;
}

svg .svg-elem-1, svg .svg-elem-2, svg .svg-elem-3, svg .svg-elem-4 {
    fill: transparent;
    animation: fillAnimation 2s ease-in-out infinite;
}

svg .svg-elem-2 { animation-delay: 0.3s; }
svg .svg-elem-3 { animation-delay: 0.5s; }
svg .svg-elem-4 { animation-delay: 0.7s; }

@keyframes fillAnimation {
    0%, 100% {
        fill: transparent;
    }
    50% {
        fill: rgb(211, 211, 211);
    }
}

/* Formular styling */
#signupform {
    display: none;
}

.input-container {
    display: flex;
    align-items: center;
    border: 1px solid #f5f6f7;
    border-radius: 16px;
}

.country-code {
    display: flex;
    align-items: center;
    padding: 16px;
    border-right: 1px solid #f5f6f7;
}

.flag-image {
    width: 28px;
    height: 20px;
    object-fit: contain;
    margin-right: 8px;
}

.readonly-input {
    border: none;
    background: transparent;
    font-size: 16px;
    color: #333;
    width: 60px;
    text-align: center;
    margin-right: 8px;
}

.phone-input {
    border: none;
    padding: 16px;
    font-size: 16px;
    width: 200px;
    outline: none;
}

/* Knapper */
.button-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.back-button, .next-button {
    padding: 16px;
    font-size: 14px;
    border: none;
    border-radius: 26px;
    cursor: pointer;
    width: 100%;
}

.back-button {
    background-color: #ccc;
    color: #333;
    font-size: 16px;
    display: none;
}

.next-button {
    background-color: #2e2e2e;
    border: none;
    border-radius: 14px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    padding: 18px 15px;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
}

.next-button:hover {
    
}

/* Terms */
.terms {
    /* position: fixed; */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    color: #808080;
    text-align: left;
    /* padding: 10px; */
    padding-top: 16px;
    font-size: 12px;
}

/* Language switch button */
.switch-language-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 12px;
    border: 1px solid #f5f6f7;
    border-radius: 20px;
    background-color: #fff;
    cursor: pointer;
    color: #808080;
}

.switch-language-btn img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}

.switch-language-btn:hover {
    background-color: #f5f6f7;
}

/* Error */
.error {
    text-align: left;
    font-size: 12px;
	color:#8b0000;
}
    .code-input {
        width: 100%;
        height: 50px;
        font-size: 24px;
        text-align: center;
        letter-spacing: 10px;
        border: 1px solid #f5f6f7;
        border-radius: 16px;
        outline: none;
        background: transparent;
        padding: 0;
        box-sizing: border-box;
    }