/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Slabo 27px', serif;
    background-color: #f9fafb; /* Soft off-white */
    color: #333; /* Dark gray for text */
    line-height: 1.6;
    overflow-x: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Header */
header {
    background-color: #ffffff; /* Pure white */
    color: #2c3e50; /* Dark blue-gray for contrast */
    padding: 16px 24px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

header h1 {
    font-size: 1.5rem;
    font-weight: 600;
}
/* Main Content */
.main-content {
    position: relative; /* Default when sidebar is collapsed */
    transition: left 0.3s ease;
    min-height: calc(100vh - 60px); /* Ensure it doesn't exceed viewport height */
    padding: 0;
    background-color: #ffffff; /* Pure white */
    overflow-y: auto; /* Add scroll if content exceeds viewport height */
    margin-top: 0 !important;
}

/* Adjust for expanded sidebar */
.sidebar.sidebar-expanded + .main-content {
    left: 16rem; /* Adjust for expanded sidebar */
}

/* Default styling for large screens */
@media (min-width: 992px) {
    .main-content {
        width: calc(100% - 80px); /* Fill available width */
        max-width: 1350px; /* Limit max width for large screens */
        margin: 0 auto; /* Center content */
    }

    .sidebar.expanded + .main-content {
        width: calc(100% - 250px); /* Adjust for expanded sidebar */
    }
}

/* Styling for small screens */
@media (max-width: 991px) {
    .main-content {
        width: 100%; /* Utilize full viewport width */
        left: 0; /* Remove left margin for full width */ /* Slightly reduce padding for small screens */
    }

    .sidebar.expanded + .main-content {
        left: 0; /* Ensure full width even when sidebar is expanded */
    }
}

/* Ensure footer doesn't overlap content */
.footer {
    display: none; /* Hide footer on desktop */
}

@media (max-width: 768px) {
    .footer {
        display: block; /* Show footer on mobile */
    }
}
.sidebar.expanded .header-text .text {
    display: inline;
    opacity: 1;
}
.header-text .text {
    display: none;
    color: black;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3sease;
}
/* Sidebar */
.sidebar {
    height: 100vh;
    background-color: #ffffff; /* Pure white */
    position: fixed;
    top: 0;
    left: 0;
    transition: width 0.3s ease;
    z-index: 1000;
    overflow: scroll;
    scrollbar-width: thin;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

.sidebar.sidebar-expanded {
    width: 16rem; /* Ensure at least 16rem (~256px) on desktop */
}

.sidebar .logo {
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb; /* Light gray border */
    transition: padding 0.3s ease;
}

.sidebar.sidebar-expanded .logo {
    padding: 24px 32px; /* More padding when expanded */
}

.sidebar .logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.sidebar.sidebar-expanded .logo img {
    transform: scale(1.1); /* Slightly enlarge logo when expanded */
}

.sidebar .menu-link {
    list-style: none;
    padding: 16px 0;
}

.sidebar .nav-link {
    padding: 12px 24px;
    color: #2c3e50; /* Dark blue-gray */
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.sidebar .nav-link:hover {
    background-color: #f3f4f6; /* Light gray hover */
}

.sidebar .nav-link img {
    width: 20px;
    height: 20px;
    margin-right: 16px;
    filter: brightness(0.8); /* Slightly muted icons */
    transition: margin-right 0.3s ease;
}

.sidebar:not(.sidebar-expanded) .nav-link img {
    margin-right: 0; /* Remove margin when collapsed */
}

.sidebar .nav-link .text {
    display: none;
    font-size: 0.9rem;
    color: black;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar.sidebar-expanded .nav-link .text {
    display: inline;
    opacity: 1;
}

/* Align collapsed links with the rest */
.sidebar:not(.sidebar-expanded) .nav-link {
    justify-content: center;
    padding: 12px 0; /* Center padding when collapsed */
}

/* Main Content */
.main-content {
    transition: margin-left 0.3s ease;
    background-color: #ffffff; /* Pure white */
    max-height: 100vh;
    position: relative;
}

.sidebar.sidebar-expanded + .main-content {
    margin-left: 16rem;
}

.main-content h2 {
    color: #2c3e50; /* Dark blue-gray */
    margin-bottom: 24px;
    font-size: 1.8rem;
    font-weight: 600;
}

.main-content p {
    color: #4b5563; /* Medium gray */
    line-height: 1.8;
    margin-bottom: 16px;
}

.main-content .card {
    background-color: #ffffff; /* Pure white */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-content .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-content .card h3 {
    color: #2c3e50; /* Dark blue-gray */
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

.main-content .card p {
    color: #6b7280; /* Light gray */
}

/* Footer (Mobile Only) */
.footer {
    display: none;
    background-color: #ffffff; /* Pure white */
    color: #2c3e50; /* Dark blue-gray */
    padding: 12px 24px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.footer .menu-link2 {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

.footer .nav-link22 {
    color: #2c3e50; /* Dark blue-gray */
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease;
}

.footer .nav-link22:hover {
    transform: translateY(-4px);
}

.footer .nav-link22 .text {
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Floating Action Button (FAB) */
.fab {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #2c3e50; /* Dark blue-gray */
    color: #ffffff; /* Pure white */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    text-align: center;
    line-height: 48px;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.fab:hover {
    background-color: #1a252f; /* Darker blue-gray */
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 0px;
    }

    .sidebar.sidebar-expanded {
        width: 200px;
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar.sidebar-expanded + .main-content {
        margin-left: 200px;
    }

    .footer {
        display: block;
    }

    .fab {
        display: block;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 0px;
    }

    .sidebar.sidebar-expanded {
        width: 180px;
        overflow-y: scroll;
    }

    .main-content {
        margin-left: 0px;
    }

    .sidebar.sidebar-expanded + .main-content {
        margin-left: 180px;
    }

    .footer .nav-link22 .text {
        font-size: 0.7rem;
    }
}

/* Dark Mode */
.dark-mode {
    background-color: #1a1a1a; /* Dark gray */
    color: #f0f0f0; /* Light gray */
}

.dark-mode header {
    background-color: #2c3e50; /* Dark blue-gray */
    color: #ffffff; /* Pure white */
}

.dark-mode .sidebar {
    background-color: #2c3e50; /* Dark blue-gray */
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.dark-mode .nav-link {
    color: #f0f0f0; /* Light gray */
}

.dark-mode .nav-link:hover {
    background-color: #34495e; /* Slightly lighter blue-gray */
}

.dark-mode .main-content {
    background-color: #1a1a1a; /* Dark gray */
    color: #f0f0f0; /* Light gray */
}

.dark-mode .footer {
    background-color: #2c3e50; /* Dark blue-gray */
    color: #f0f0f0; /* Light gray */
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin: 12px 0;
}

.toggle-switch .switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

.toggle-switch .switch:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-switch .switch {
    background-color: #2196F3;
}

input:checked + .toggle-switch .switch:before {
    transform: translateX(20px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.main-content {
    animation: fadeIn 0.5s ease;
}
/* Registration Main Container */
.register-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Full viewport height */
    background-color: #f9fafb; /* Soft off-white background */
    padding: 20px;
}

/* Registration Box */
.register-box {
    width: 100%;
    max-width: 500px; /* Limit width for better readability */
    background-color: #ffffff; /* Pure white */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 30px;
}

/* Box Title */
.box-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50; /* Dark blue-gray */
    text-align: center;
    margin-bottom: 20px;
}

/* Step Indicator */
.step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1; /* Equal spacing */
}

.step-item .dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e0e0e0; /* Light gray for inactive steps */
    color: #ffffff; /* White text */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 1; /* Ensure dot is above the line */
}

.step-item.step-ing .dot {
    background-color: #2c3e50; /* Dark blue-gray for active step */
}

.step-item .line {
    position: absolute;
    top: 15px; /* Center vertically */
    left: 50%;
    width: 100%; /* Full width between dots */
    height: 2px;
    background-color: #e0e0e0; /* Light gray line */
    z-index: 0; /* Ensure line is behind the dots */
}

.step-item:last-child .line {
    display: none; /* Hide line after the last dot */
}

.step-item .txt-box {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #6b7280; /* Medium gray for inactive steps */
    text-align: center;
}

.step-item.step-ing .txt-box {
    color: #2c3e50; /* Dark blue-gray for active step */
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 480px) {
    .register-box {
        padding: 20px;
    }

    .step-item .dot {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .step-item .txt-box {
        font-size: 0.8rem;
    }
}
container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
}

.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.logo img {
    width: 160px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.language-switch {
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.help {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.help:hover {
    text-decoration: underline;
}

.login-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
}

.login-ad {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.login-ad img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.login-ad img:hover {
    transform: scale(1.05);
}

.login-form {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    margin: auto;
    animation: fadeIn 0.5s ease;
}

.login-form h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.login-form form {
    display: flex;
    flex-direction: column;
}

.login-form form label {
    margin-bottom: 5px;
    color: #666;
}

.login-form form input[type="text"],
.login-form form input[type="password"] {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.login-form form input[type="text"]:focus,
.login-form form input[type="password"]:focus {
    border-color: #007bff;
    outline: none;
}

.form-btn button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.3s;
}

.form-btn button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.form-btn button:active {
    transform: translateY(0);
    box-shadow: none;
}

.form-help {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 14px;
}

.form-help a {
    color: #007bff;
    text-decoration: none;
}

.form-help a:hover {
    text-decoration: underline;
}

.pop-up {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    max-width: 400px;
    width: 100%;
}

.pop-up h1 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.pop-up input[type="text"] {
    padding: 12px;
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.pop-up input[type="submit"] {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.pop-up input[type="submit"]:hover {
    background-color: #218838;
}

.pop-up .close-btn {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #dc3545;
    cursor: pointer;
    text-decoration: underline;
}

ul {
    padding: 0;
    list-style: none;
}

ul li {
    background: #fff;
    color: #000000;
    margin-bottom: 10px;
    border-radius: 4px;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .login-wrap {
        flex-direction: column;
    }

    .login-ad {
        margin-bottom: 20px;
    }
}

.logo img {
    width: 150px;
}

