﻿/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fc;
}

/* Grid layout for login page */
.grid {
    display: grid;
    grid-template-columns: .65fr .35fr;
    height: calc(100vh - 56px); /* Subtract navbar height */
    overflow: hidden;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.abp-account-layout {
    overflow: hidden;
    height: 100vh;
}

.navbar {
    background-image: none !important;
    background-color: white;
    height: 56px;
    padding: 0.5rem 1rem!important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}
.tenant-logo{
    height: 40px;
    margin-right: 15px;

}
.navbar-content {
    display: flex;
    align-items: center;
}
/* Left background section */
.background-slider {
    /*background-image: url('/images/Login page background.svg');*/
    background-repeat: no-repeat;
    background-color:white;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    /* Illustration container */
    .background-slider .illustration {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        width: 100%;
        padding: 2rem 0;
    }

    /* Illustration image */
    .background-slider .illustration img {
        max-width: 85%;
        max-height: 50vh;
        height: auto;
        animation: fadeInUp 1s ease-in-out;
        object-fit: contain;
    }
    
/* Adjust illustration size for different screens */

/* 4K and Ultra-wide screens */
@media (min-width: 2560px) {
    .background-slider .illustration img {
        max-height: 60vh;
        max-width: 70%;
    }
    
    .custom-welcome {
        font-size: 16px !important;
    }
}

/* Full HD screens */
@media (min-width: 1920px) and (max-width: 2559px) {
    .background-slider .illustration img {
        max-height: 50vh;
        max-width: 80%;
    }
}

@media (min-width: 1024px) and (max-width: 1366px) {
    .background-slider .illustration img {
        max-width: 75%;
        max-height: 45vh;
    }
    
    .welcome-container {
        padding: 0.5rem 1rem 1rem;
    }
    
    .custom-welcome {
        font-size: 13px !important;
    }
}

/* 13-inch laptops (1367px - 1439px) */
@media (min-width: 1367px) and (max-width: 1439px) {
    .background-slider .illustration img {
        max-width: 77%;
        max-height: 46vh;
    }
    
    .welcome-container {
        padding: 0.6rem 1.1rem 1.1rem;
    }
    
    .custom-welcome {
        font-size: 13.5px !important;
    }
    
    .navbar {
        height: 56px;
        padding: 0.5rem 1rem !important;
    }
    
    .grid {
        height: calc(100vh - 56px);
    }
}

/* 14-inch laptops standard DPI (1440px - 1599px) */
@media (min-width: 1440px) and (max-width: 1599px) {
    .background-slider .illustration img {
        max-width: 78%;
        max-height: 47vh;
    }
    
    .welcome-container {
        padding: 0.7rem 1.2rem 1.2rem;
    }
    
    .custom-welcome {
        font-size: 14px !important;
    }
    
    .navbar {
        height: 56px;
        padding: 0.5rem 1rem !important;
    }
    
    .grid {
        height: calc(100vh - 56px);
        grid-template-columns: .65fr .35fr;
    }
}

/* 14-inch high DPI & 15-inch laptops (1600px - 1919px) */
@media (min-width: 1600px) and (max-width: 1919px) {
    .background-slider .illustration img {
        max-width: 79%;
        max-height: 48vh;
    }
    
    .welcome-container {
        padding: 0.8rem 1.3rem 1.3rem;
    }
    
    .custom-welcome {
        font-size: 14.5px !important;
    }
    
    .navbar {
        height: 56px;
        padding: 0.5rem 1rem !important;
    }
    
    .grid {
        height: calc(100vh - 56px);
        grid-template-columns: .65fr .35fr;
    }
    
    .gov-logo {
        height: 40px;
    }
    
    .portal-title {
        font-size: 20px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .background-slider .illustration img {
        max-width: 70%;
        max-height: 40vh;
    }
    
    .custom-welcome {
        font-size: 12px !important;
    }
}



.gov-logo {
    height: 40px;
    margin-right: 15px;
}

.portal-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}
