@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&family=KoHo:ital,wght@0,500;0,600;1,500;1,600&display=swap');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

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+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI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

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


/* Center the login form */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

/* Style the login card */
.login-card {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
/* Center text inside the card */
.text-center {
    text-align: center;
}

/* Apply background color to MudCardContent */
.login-card-content {
    background-color: #ffffff; /* White background */
    padding: 20px;
    border-radius: 8px;
}

/* Full-width button */
.full-width-btn {
    width: 100%;
}

/* Center the logo */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}
.login-logo {
    max-width: 70px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.demo-login-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 560px) 1fr;
    background-color: #ffffff;
}
.demo-login-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background-color: #ffffff;
}
.demo-login-card {
    width: 100%;
    max-width: 420px;
    box-shadow: none;
    border: none;
    border-radius: 0;
}
.demo-login-layout .mud-elevation-1 {
    box-shadow: none;
}
.demo-login-button {
    color: #ffffff !important;
    background-image: linear-gradient(135deg, #6ec1ff 0%, #2f7be5 100%);
}
.demo-login-button:hover {
    background-image: linear-gradient(135deg, #7fcaff 0%, #3b86ee 100%);
}
.demo-login-button--full {
    width: 100%;
}
.demo-login-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width: 900px) {
    .demo-login-layout {
        grid-template-columns: 1fr;
    }
    .demo-login-image {
        min-height: 240px;
    }
}

.tesla-auth-layout {
    font-family: 'KoHo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #8F8F8F;
}
.tesla-auth-layout .mud-typography-h6,
.tesla-auth-layout .mud-typography-h5,
.tesla-auth-layout .mud-typography-h4,
.tesla-auth-layout .mud-typography-subtitle1 {
    font-weight: 600;
}
.tesla-auth-layout .mud-typography-body1,
.tesla-auth-layout .mud-typography-body2,
.tesla-auth-layout .mud-input,
.tesla-auth-layout .mud-input-label,
.tesla-auth-layout .mud-link {
    font-weight: 500;
    color: #8F8F8F;
}
.tesla-auth-layout .mud-checkbox.mud-checked .mud-typography,
.tesla-auth-layout .mud-radio.mud-checked .mud-typography,
.tesla-auth-layout .mud-switch.mud-checked .mud-typography {
    font-style: italic;
}
.tesla-auth-layout .mud-selected,
.tesla-auth-layout .mud-selected .mud-typography {
    font-style: italic;
}

.tesla-login-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 520px) 1fr;
    background-color: #ffffff;
}
.tesla-login-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background-color: #ffffff;
}
.tesla-login-card {
    width: 100%;
    max-width: 420px;
    box-shadow: none;
    border: none;
    border-radius: 0;
}
.tesla-login-layout .mud-elevation-1 {
    box-shadow: none;
}
.tesla-login-button {
    color: #ffffff !important;
    background-color: #E26161 !important;
    border-color: #E26161 !important;
}
.tesla-login-button:hover {
    background-color: #D85858;
}
.tesla-login-button--full {
    width: 100%;
}
.tesla-login-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.tesla-login-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(226, 97, 97, 0.18), rgba(255, 255, 255, 0));
}
@media (max-width: 900px) {
    .tesla-login-layout {
        grid-template-columns: 1fr;
    }
    .tesla-login-image {
        min-height: 240px;
    }
}

.generic-login-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 520px) 1fr;
    background-color: #ffffff;
}
.generic-login-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}
.generic-login-card {
    width: 100%;
    max-width: 420px;
    box-shadow: none;
    border: none;
    border-radius: 0;
}
.generic-login-layout .mud-elevation-1 {
    box-shadow: none;
}
.generic-login-button {
    color: #ffffff !important;
    background-image: linear-gradient(135deg, #3fa9f5 0%, #105396 100%);
}
.generic-login-button:hover {
    background-image: linear-gradient(135deg, #59b7fb 0%, #1c65b4 100%);
}
.generic-login-button--full {
    width: 100%;
}
.generic-login-link {
    color: #1976d2 !important;
    font-weight: 700;
    text-decoration: none;
}
.generic-login-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.generic-login-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 83, 150, 0.12), rgba(255, 255, 255, 0));
}

.platform-auth-layout {
    font-family: 'Comfortaa', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.platform-login-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(380px, 1fr) minmax(420px, 0.95fr);
    background: #ffffff;
}
.platform-login-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 55% 35%, rgba(0, 225, 255, 0.18), transparent 24%),
        radial-gradient(circle at 25% 75%, rgba(0, 162, 252, 0.12), transparent 28%),
        linear-gradient(180deg, #223042 0%, #172231 100%);
    color: #f5f8ff;
}
.platform-login-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 45%, rgba(0, 225, 255, 0.06));
    pointer-events: none;
}
.platform-login-hero__inner {
    position: relative;
    z-index: 1;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 28px;
    padding: 72px 64px 48px;
}
.platform-login-badge {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3db7ff 0%, #22c6e8 55%, #00a2fc 100%);
    box-shadow: 0 18px 40px rgba(0, 162, 252, 0.28);
}
.platform-login-badge__icon {
    font-size: 46px;
    color: #ffffff;
}
.platform-login-title {
    margin: 0;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.025em;
    font-size: 2.25rem;
    line-height: 2.5rem;
}
.platform-login-subtitle {
    max-width: 520px;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(230, 238, 250, 0.72);
}
.platform-login-features {
    display: grid;
    gap: 20px;
    margin-top: 8px;
    width: min(100%, 440px);
}
.platform-login-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(240, 246, 255, 0.82);
    font-size: 1rem;
    font-weight: 600;
}
.platform-login-feature__icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4fc5ff 0%, #2198ff 100%);
    color: #ffffff;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(0, 162, 252, 0.24);
}
.platform-login-powered {
    margin-top: auto;
    color: rgba(202, 214, 232, 0.38);
    font-size: 0.95rem;
}
.platform-login-form-pane {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    background:
        radial-gradient(circle at top left, rgba(0, 162, 252, 0.06), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.platform-login-form-shell {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.platform-login-status {
    text-align: center;
}
.platform-login-status__ring {
    width: 96px;
    height: 96px;
    margin: 0 auto 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle, #eef4ff 38%, #f7f9fd 39%),
        conic-gradient(from 0deg, #3f7ff6 0 82deg, #edf2fb 82deg 360deg);
    box-shadow: inset 0 0 0 6px #f7f9fd;
}
.platform-login-status__icon {
    font-size: 38px;
    color: #397af0;
}
.platform-login-status__title {
    margin: 0;
    color: #0e2a56;
    font-weight: 700;
}
.platform-login-status__subtitle {
    margin-top: 8px;
    color: #5f7ca8;
    font-size: 1rem;
}
.platform-login-card {
    width: 100%;
    max-width: 420px;
    padding: 0;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    background: transparent !important;
}
.platform-login-card-content {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    padding: 0;
}
.platform-login-card .mud-card-actions {
    padding: 20px 0 0;
}
.platform-login-card .mud-paper,
.platform-login-card .mud-card,
.platform-login-card.mud-paper {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
.platform-login-button {
    color: #ffffff !important;
    background-image: linear-gradient(135deg, #00e1ff 0%, #00a2fc 100%);
    border: none !important;
    border-radius: 999px;
    box-shadow: 0 16px 34px rgba(0, 162, 252, 0.28);
}
.platform-login-button:hover {
    background-image: linear-gradient(135deg, #2ce8ff 0%, #15aeff 100%);
}
.platform-login-button--full {
    width: 100%;
}
.platform-login-link {
    color: #00a2fc !important;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .platform-login-layout {
        grid-template-columns: 1fr;
    }
    .platform-login-hero__inner {
        padding: 48px 32px 36px;
    }
}

@media (max-width: 900px) {
    .generic-login-layout {
        grid-template-columns: 1fr;
    }
    .generic-login-image {
        min-height: 240px;
    }
}

.signup-container {
    background-image: url('/img//BackAndesTool4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* Full screen */
    width:100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-wrapper {
    background-image: url('/img/BackgroundCosco3.png'); /* o una URL externa */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background-color: rgba(255, 255, 255, 0.9); /* Fondo blanco semitransparente */
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white; /* o un color de fondo acorde */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}


