﻿@font-face {
    font-family: 'SolvePro';
    src: url('/fonts/Solve-Pro-Screen-Variable.ttf') format('truetype');
    font-display: swap;
}

body {
    font-size: 14px;
    color: rgba(67, 73, 85);
    font-weight: 300;
    font-family: '3MCircularTT', sans-serif;
}

.login-page-content {
    width: 100%;
    min-height: 100vh;
    font-size: 12px;
    line-height: 20px;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
}

.login-holder {
    width: 40%;
    height: auto;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.login-holder img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
}

.login-holder h1 {
    color: black !important;
    text-align: center;
    margin: 0;
    font-weight: 400;
    font-size: 24px;
}

.login-holder>a:link {
    color: #ffffff;
}

.login-holder>a:visited {
    color: #ffffff;
}

.login-holder>a:hover {
    color: #ffffff;
}

.login-btn {
    border: none;
    border-radius: 4px;
    background-color: #1d6460 !important;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 22px;
    margin-top: 40px;
    width: 55%;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-decoration: none !important;
}

.login-btn:hover {
    color: white !important;
    text-decoration: none;
}

h1,
h2,
h3 {
    font-family: 'SolvePro', serif;
}

h1 {
    font-family: 'SolvePro', sans-serif;
    font-size: 24px;
    color: #434955;
}

.login-holder .error-message {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
}

.role-selection-form {
    width: 55%;
    margin: 32px auto 0;
}

.role-selection-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.role-selection-label {
    color: #434955;
    font-size: 14px;
    font-weight: 600;
}

.role-selection-select {
    font-size: 14px;
}

.role-selection-submit {
    width: 100%;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .login-holder {
        width: min(90%, 420px);
    }

    .role-selection-form {
        width: 100%;
    }
}

/* Role Selection Styles */
.role-select-holder,
.role-select-holder * {
    font-family: 'SolvePro', sans-serif;
}

.role-select-holder {
    width: 440px;
    max-width: 90%;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    overflow: hidden;
    text-align: center;
}

.role-select-holder img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
    margin-bottom: 20px;
}

.role-select-holder h2 {
    color: #434955;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.role-select-description {
    color: #6c757d;
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 24px;
}

.role-options-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    margin-bottom: 24px;
}

.role-card {
    display: flex;
    align-items: flex-start;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.role-card:hover {
    border-color: #0a7b6b;
    background-color: #f7fdfc;
}

.role-card input[type="radio"] {
    margin-top: 3px;
    margin-right: 12px;
    accent-color: #0a7b6b;
    cursor: pointer;
}

.role-card:has(input[type="radio"]:checked) {
    border: 2px solid #0a7b6b;
    background-color: #f7fdfc;
}

.role-card-info {
    display: flex;
    flex-direction: column;
}

.role-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #434955;
    margin-bottom: 2px;
}

.role-card:has(input[type="radio"]:checked) .role-card-title {
    color: #0a7b6b;
}

.role-card-desc {
    font-size: 12px;
    color: #6c757d;
    line-height: 16px;
}

.role-select-holder .login-btn {
    width: 100%;
    margin-top: 0;
    cursor: pointer;
}