body {
    font-family: "Segoe UI", Arial, sans-serif;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjx0ZXh0IHg9IjMiIHk9IjQ4IiBmb250LXNpemU9IjI2cHgiIGZpbGw9IiNjY2NjYyIvPjwvdGV4dD48L2c+PC9zdmc+)
 no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Pricing Section Styles */
.pricing-section {
    background: #f3f4f6;
    padding: 3rem 0;
    text-align: center;
}
.pricing-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.pricing-underline {
    width: 120px;
    height: 5px;
    background: #ffd600;
    margin: 0.5rem auto 2rem auto;
    border-radius: 3px;
}
.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.pricing-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px #0001;
    max-width: 320px;
    flex: 1 1 260px;
    padding: 2.5rem 2rem 2rem 2rem;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.pricing-card.popular {
    border-color: #ffd600;
}
.pricing-popular-label {
    position: absolute;
    top: 0;
    right: 0;
    background: #ffd600;
    color: #222;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.3em 1em;
    border-radius: 0 14px 0 12px;
    transform: translateY(-60%);
}
.pricing-card .price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111a3a;
    margin: 0.5rem 0 1.2rem 0;
}
.pricing-card .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 0.5rem;
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
    width: 100%;
}
.pricing-card ul li {
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
    position: relative;
    padding-left: 2rem;
}
.pricing-card ul li:before {
    content: '\2713';
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}
.pricing-card .btn {
    width: 100%;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.8em 0;
    border-radius: 6px;
    margin-top: auto;
}
.pricing-card .btn-popular {
    background: #ffd600;
    color: #222;
    border: none;
}
.pricing-card .btn:not(.btn-popular) {
    background: #1a2040;
    color: #fff;
    border: none;
}

/* FAQ Section Styles */
.faq-section {
    padding: 3rem 0;
    max-width: 900px;
    margin: auto;
    text-align: center;
}
.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.faq-underline {
    width: 80px;
    height: 5px;
    background: #ffd600;
    margin: 0.5rem auto 2rem auto;
    border-radius: 3px;
}
.faq-intro {
    color: #444;
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}
.faq-list {
    max-width: 700px;
    margin: auto;
    text-align: left;
}
.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.2rem 0;
    cursor: pointer;
}
.faq-question {
    font-weight: 700;
    font-size: 1.18rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.faq-answer {
    margin-top: 0.7rem;
    color: #222;
    font-size: 1.08rem;
    line-height: 1.6;
}
.faq-chevron {
    transition: transform 0.2s;
    font-size: 1.3rem;
    margin-left: 0.5rem;
}
.faq-chevron.open {
    transform: rotate(180deg);
}

/* Registration Stepper Styles */
.register-stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.2rem;
    margin-top: 1.2rem;
    gap: 0.1rem;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}
.register-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    min-width: 80px;
}
.register-step-circle {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 2px solid #cbd5e1;
    margin-bottom: 0.15rem;
    transition: background 0.2s, border 0.2s;
}
.register-step-circle.active {
    background: #2563eb;
    border-color: #2563eb;
}
.register-step-label {
    font-weight: 600;
    color: #888;
    font-size: 0.98rem;
    margin-top: 0.2rem;
    transition: color 0.2s;
}
.register-step-label.active {
    color: #2563eb;
}
.register-step-line {
    flex: 1 1 0;
    height: 2px;
    background: #cbd5e1;
    margin: 0 0.2rem 0 0.2rem;
}

/* Registration Form Card - större variant */
.register-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px #0002;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    text-align: center;
}
.register-card-title {
    font-size: 2rem;
    font-weight: 500;
    color: #1a2040;
    margin-bottom: 2rem;
}
.register-form-group {
    margin-bottom: 1.5rem;
}
.register-input {
    width: 100%;
    box-sizing: border-box;
    padding: 1.1em 1em;
    font-size: 1.1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    margin-bottom: 1.1rem;
    background: #fafbfc;
    transition: border 0.2s;
}
.register-input:focus {
    border-color: #2563eb;
    outline: none;
    background: #fff;
}
.register-btn-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}
.register-btn {
    background: #1a2040;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 6px;
    padding: 0.9em 2.2em;
    transition: background 0.2s;
}
.register-btn:active, .register-btn:focus {
    background: #2563eb;
}
.register-btn-secondary {
    background: #e5e7eb;
    color: #222;
    margin-right: 1rem;
}

@media (max-width: 700px) {
    .register-card {
        max-width: 98vw;
        padding: 1.2rem 0.5rem;
    }
}

.inputcontainer {
    position: relative;
}

.icon-container {
    position: absolute;
    right: 10px;
    top: calc(50% - 20px);
}

.loader {
    position: relative;
    height: 20px;
    width: 20px;
    display: inline-block;
    animation: around 5.4s infinite;
}

@keyframes around {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.loader::after, .loader::before {
    content: "";
    background: white;
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 100%;
    border-width: 2px;
    border-color: #333 #333 transparent transparent;
    border-style: solid;
    border-radius: 20px;
    box-sizing: border-box;
    top: 0;
    left: 0;
    animation: around 0.7s ease-in-out infinite;
}

.loader::after {
    animation: around 0.7s ease-in-out 0.1s infinite;
    background: transparent;
}

/* Stepper styles */
.register-stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.register-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.register-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

    .register-step-circle.active {
        background-color: #2563eb;
        border-color: #2563eb;
        color: white;
    }

.register-step-label {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

    .register-step-label.active {
        color: #2563eb;
        font-weight: 600;
    }

.register-step-line {
    flex: 1;
    height: 2px;
    background-color: #e5e7eb;
    margin: 0 1rem;
    margin-top: -16px;
}

/* Register card styles */
.register-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.register-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.register-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .register-input:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

.register-btn-row {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.register-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    border: none;
    cursor: pointer;
    background-color: #2563eb;
    color: white;
    flex: 1;
}

    .register-btn:hover:not(:disabled) {
        background-color: #1d4ed8;
    }

    .register-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.register-btn-secondary {
    background-color: #6b7280;
    color: white;
}

    .register-btn-secondary:hover:not(:disabled) {
        background-color: #374151;
    }

/* Register complete card */
.register-complete-card {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Back link styling */
.register-back-link:hover {
    color: #1d4ed8 !important;
}

/* Form validation */
.validation-errors {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .register-card {
        margin: 0 1rem;
        padding: 1.5rem;
    }

    .register-stepper {
        margin: 1rem;
    }

    .register-step-label {
        font-size: 0.75rem;
    }

    .register-btn-row {
        flex-direction: column;
    }
}