﻿@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;500&display=swap');

/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Calibri', 'Heebo', sans-serif;
    width: 100%;
    overflow-x: hidden;
}

/* Input fields */
input,
select,
textarea {
    max-width: 280px;
}

/* Generic hiding */
.hide {
    display: none !important;
}

/* Title section */
.infoTitleContainer {
    text-align: center;
    margin-top: 5vh;
    padding: 0 5%;
}

/* Error page container */
.infoBodyContainer {
    width: 100%;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 5%;
}

.errorIcon {
    width: 200px;
    height: 200px;
    max-width: 80%;
    height: auto;
}

.mainTitle {
    font-size: 48px;
    font-weight: bolder;
    color: #a59e9e;
}

.secondaryTitle {
    font-size: 24px;
}

.subText {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-top: 2rem;
}

/* Login background */
.loginContainer {
    background-image: url("/authform/static/Content/Images/login-background.png");
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Sign In Button (Simple) */
.signInBtn {
    cursor: pointer;
    background-color: #e0f1fa;
    border: 1px solid #0d6efd;
    color: #016deb;
    font-size: 16px;
    padding: 12px 24px;
    border-radius: .25rem;
    width: 80%;
    max-width: 280px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all .15s ease-in-out;
    margin-top: 10rem;
}

.signInBtn:hover {
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Sign In Button Group */
.signInBtnGroup {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 10rem;
    gap: 20px;
}

/* Button with logo */
.signInBtnWithLogo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #e0f1fa;
    border: 1px solid #0d6efd;
    border-radius: .5rem;
    padding: 10px 20px;
    text-decoration: none;
    color: #016deb;
    font-size: 18px;
    font-weight: 500;
    height: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    min-width: 0; 
    width: 100%;
    max-width: 300px;
}
/* Provider logo */
.providerLogo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0; 
}

/* Provider text */
.providerTitle {
    font-weight: bold;
    font-size: 20px;
    white-space: nowrap; 
    text-overflow: ellipsis;
}
.infoContainer {
    width: 100%;
    padding: 1rem;
}

/* Loading label */
.loading-label {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2rem;
}

/* Desktop styles */
@media (min-width: 1025px) {
    .mainTitle {
        font-size: 60px;
    }

    .secondaryTitle {
        font-size: 36px;
    }

    .subText {
        font-size: 32px;
        margin-top: 1rem;
    }

    .errorIcon {
        width: 300px;
        height: 300px;
    }
}

/* Mobile styles */
@media (max-width: 1024px) {
    .mainTitle {
        font-size: 36px;
    }

    .secondaryTitle {
        font-size: 20px;
    }

    .subText {
        font-size: 22px;
        margin-top: 2rem;
    }

    .errorIcon {
        width: 200px;
        height: 200px;
    }
}
