/* General styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f5f7fa;
    display: flex;
    height: 100vh;
}

/* Sidebar and Logo Container */
.sidebar-logo {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-start;
}

/* Sidebar (Orange bar) */
.sidebar img {
    height: 100vh;
    width: 50px;
    object-fit: cover;
    display: block;
}

/* HBC Logo Positioned at Top-Left */
.logo {
    display: flex;
    align-items: flex-start;
    padding-top: 20px;
    padding-left: 10px;
}

.logo-img {
    max-height: 60px;
    display: block;
}

/* Full-width Horizontal Line */
.horizontal-line {
    width: calc(100% - 50px);
    height: 1.5px;
    background-color: black;
    position: absolute;
    top: 100px;
    left: 50px;
}

/* Container for main content */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 80px);
    margin-left: 80px;
}

/* Main content styling */
.main-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 450px;
    margin-top: 140px;
    text-align: center;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.subtext {
    font-size: 14px;
    margin-bottom: 20px;
}

.subtext a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

/* Tabs styling */
.login-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.tab {
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    background-color: #e8e8e8;
    border-radius: 5px;
    color: #999;
}

.tab.active {
    background-color: #f5f5f5;
    font-weight: 500;
    color: #000;
}

/* Login form */
.login-form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

label {
    margin: 10px 0 5px;
    font-size: 14px;
}

input[type="text"],
input[type="password"] {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%; /* Ensure both fields take 100% width */
    box-sizing: border-box; /* Include padding and borders in element's total width */
}

/* Forgot password link positioned on the right side above the password input */
.forgot-password-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px; /* Add space between label and password field */
}

.forgot-password {
    font-size: 12px;
    text-decoration: none;
    color: #666;
    padding-left: 10px; /* Ensures space between label and link */
}

/* Password wrapper for the eye icon */
.password-wrapper {
    position: relative;
    width: 100%; /* Ensuring the wrapper takes full width */
}

.password-wrapper input {
    padding-right: 40px; /* Space for the eye icon */
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.sign-in-button {
    padding: 10px;
    background-color: #f36f21;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

.sign-in-button:hover {
    background-color: #d55c19;
}

@media(max-width:800px)

{
    .container {
        display: block;
        flex-direction: column;
        align-items: center;
        width: calc(100% - 80px);
        margin-left: 80px;
    }
    .main-content {
        background-color: #fff;
        border-radius: 8px;
        padding: 40px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        width: 70%;
        margin-top: 140px;
        text-align: center;
    }
    
}