﻿
.auth-image-section {
    background-image: url('/assets/harbour.svg'), linear-gradient(to top, #065993, #fff);
    background-size: contain, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
}

.auth-forgot-image-section {
    background-image: url('/assets/forgot.svg'), linear-gradient(to top, #065993, #fff);
    background-size: contain, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
}

.auth-divider-text {
    display: inline-block;
    position: relative;
    background: #fff;
    padding: 0 1rem;
    color: #1d70e9;
    font-size: 1rem;
    font-weight: 400;
    z-index: 1;
}

    .auth-divider-text:hover {
        color: #1d60c3;
    }

.auth-password-toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #6c757d;
    border-radius: 10px;
    z-index: 10;
}

    .auth-password-toggle:hover {
        color: #0d6efd;
    }

#headerMessage {
    min-height: 24px;
}

    #headerMessage.success {
        color: #198754 !important;
        font-weight: 500;
    }

    #headerMessage.error {
        color: #dc3545 !important;
        font-weight: 500;
    }

.auth-form-section {
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.auth-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-scrim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255, 0.40);
    cursor: not-allowed;
    z-index: 20;
}

.auth-logo-sized {
    max-height: 70px;
    opacity: 90%;
}

.auth-panel-content {
    width: 100%;
    max-width: 450px;
    user-select: none;
}

.auth-copyright {
    font-size: 0.8rem;
    user-select: none;
}

.auth-back {
    font-size: 1rem;
    font-weight: 400;
    color: #0d6efd;
}

.auth-workspace-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    flex: 1;
}

.auth-content-wrapper {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.auth-workspace-card {
    position: relative;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
    user-select: none;
}

    .auth-workspace-card:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

.auth-card-operations {
    background: linear-gradient(#fff 0%, #bbdefb 100%);
}

.auth-card-analytics {
    background: linear-gradient(#fff 0%, #c8e6c9 100%);
}

.auth-card-admin {
    background: linear-gradient(#fff 0%, #e1bee7 100%);
}

.auth-card-controltower {
    background: linear-gradient(#fff 0%, #ffcc80 100%);
}

.auth-card-security {
    background: linear-gradient(#fff 0%, #ffcdd2 100%);
}

.auth-card-default {
    background: linear-gradient(#fff 0%, #eeeeee 100%);
}

.auth-card-greyed {
    opacity: 0.6;
    background: linear-gradient(#fff 0%, #f0f0f0 100%) !important;
    cursor: not-allowed;
}

    .auth-card-greyed .btn {
        background-color: #e0e0e0;
        border-color: #e0e0e0;
        color: #9e9e9e;
        cursor: not-allowed;
    }

    .auth-card-greyed:hover {
        border-color: #dc3545;
        box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
    }

.auth-workspace-icon {
    color: #495057;
    margin-bottom: 0.5rem;
}

.auth-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.auth-card-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: calc(1.3em * 2);
    max-height: calc(1.3em * 2);
    text-overflow: ellipsis;
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    overflow: hidden;
    word-wrap: break-word;
    hyphens: auto;
}

.auth-btn-compact {
    width: 75%;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    margin: 3px 0 3px 0;
}

.auth-branch-card {
    background: linear-gradient(#fff 0%, #bbdefb 100%);
    height: 100%;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

    .auth-branch-card:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

