﻿body {
    background: #f8fafc;
    font-family: Inter, Segoe UI, sans-serif;
    margin: 0;
}

*, *::before, *::after { box-sizing: border-box; }

.grid-2 > * { min-width: 0; }

.register-container {
    max-width: 720px;
    margin: 10px auto;
    padding: 10px;
}

.logo-box {
    width: 100px;
    height: 100px;
    margin: 0 auto 5px;
    /*background: #155E75;*/
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .logo-box img {
        width: 100px;
    }

h1 {
    text-align: center;
    color: #1E3A5F;
    margin-bottom: 8px;
}
h3 {
    color: #1E3A5F;
    margin-top: 0px;
    margin-bottom: 0px;
}
h3 {
    /*text-align: center;*/
    color: #1E3A5F;
    margin-top: 0px;
    margin-bottom: 0px;
}
.subtitle {
    text-align: center;
    color: #64748B;
    margin-bottom: 8px;
}

.account-types {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 720px;
    margin: 0 auto 5px auto;
}

.type-card {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px 8px 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #d9e2ec;
    cursor: pointer;
    transition: .2s;
}

    .type-card:hover {
        border-color: #155E75;
    }
    .type-card.active {
        background: #f1fbfa;
        border: 2px solid #155e75;
    }

    .type-card.active .checkmark {
        opacity: 1;
        visibility: visible;
    }

.type-icon {
    width: 42px;
    height: 42px;
    background: #F1F5F9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.checkmark {
    margin-left: auto;
    opacity: 0;
    visibility: hidden;
    color: #155e75;
    font-weight: 700;
    transition: .2s;
}

.register-form {
    margin-top: 20px;
    background: white;
    border: 1px solid #CBD5E1;
    border-radius: 22px;
    padding: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

label {
    display: block;
    margin-top: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

input,
select {
    width: 100%;
    padding: 14px;
    border: 1px solid #CBD5E1;
    border-radius: 14px;
    font-size: 15px;
}

.info-box {
    margin-top: 20px;
    padding: 16px;
    background: #F0FDFA;
    border: 1px solid #99F6E4;
    border-radius: 14px;
    color: #155E75;
}

.btn-register {
    width: 100%;
    margin-top: 25px;
    padding: 18px;
    border: none;
    border-radius: 16px;
    background: #155E75;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.login-link {
    text-align: center;
    margin-top: 20px;
}

    .login-link a {
        color: #155E75;
        text-decoration: none;
        font-weight: 700;
    }

@media(max-width:750px) {

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .register-container {
        margin: 15px auto;
    }
}



 



.auth-error {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #B91C1C;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 16px;
}

.field-error {
    display: block;
    color: #B91C1C;
    font-size: 12.5px;
    margin-top: 2px;
    margin-bottom: 14px;
}

.field-error:empty {
    display: none;
    margin: 0;
}

/* Inline SVG icons (see Pages/Shared/_Icon.cshtml) size themselves off the
   surrounding font-size unless a container overrides width/height. */
.svg-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    flex-shrink: 0;
}
