/*Write your custom css in this file.*/

/* Smooth sidebar width transition */
.sidebar {
    transition: width 0.3s ease-in-out !important;
    -webkit-transition: width 0.3s ease-in-out !important;
    -moz-transition: width 0.3s ease-in-out !important;
}

.navbar-custom {
    transition: left 0.3s ease-in-out !important;
    -webkit-transition: left 0.3s ease-in-out !important;
    -moz-transition: left 0.3s ease-in-out !important;
}

.page-container {
    transition: margin-left 0.3s ease-in-out !important;
    -webkit-transition: margin-left 0.3s ease-in-out !important;
    -moz-transition: margin-left 0.3s ease-in-out !important;
}

/* Split Screen Login Design */
.split-screen-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.left-side {
    flex: 1;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 80px 60px 80px;
    gap: 40px;
    text-align: center;
    min-height: 100vh;
    max-height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
}

.welcome-content {
    max-width: 600px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    height: 100%;
    padding: 40px 0;
}

.welcome-text-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
    width: 100%;
    margin-top: 0px;
}

.welcome-title {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0;
}

.welcome-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    color: #5a5a5a;
    margin: 0;
}

/* Image Container Styles */
.image-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-top: 0px;
    margin-bottom: 40px;
}

.image-container img {
    max-width: 100%;
    max-height: calc(100vh - 280px);
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 8px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin-top: 10px;
    width: fit-content;
}

.carousel-indicators::-webkit-scrollbar {
    height: 6px;
}

.carousel-indicators::-webkit-scrollbar-track {
    background: transparent;
}

.carousel-indicators::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 3px;
}

.carousel-indicators::-webkit-scrollbar-thumb:hover {
    background-color: #9ca3af;
}

.indicator {
    width: 40px;
    height: 4px;
    background-color: #d1d5db;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.indicator:hover {
    background-color: #9ca3af;
}

.indicator.active {
    background-color: #6366f1;
    width: 60px;
}

.right-side {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    overflow-y: auto;
    max-height: 100vh;
}

.form-signin-wrapper {
    width: 100%;
    max-width: 400px;
    margin: auto 0;
}

.signin-form-container {
    width: 100%;
}

.logo-section {
    margin-bottom: 40px;
    text-align: center;
}

.signin-logo {
    max-width: 180px;
    height: auto;
}

.signin-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #1a1a1a;
    text-align: center;
}

.form-label {
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
    color: #1a1a1a;
    font-size: 0.9375rem;
}

.form-group {
    margin-bottom: 24px;
}

.form-control-lg {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #d1d5db;
}

.form-control-lg:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

/* Remove yellow autofill background */
.form-control-lg:-webkit-autofill,
.form-control-lg:-webkit-autofill:hover,
.form-control-lg:-webkit-autofill:focus,
.form-control-lg:-webkit-autofill:active,
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #f5f5f5 inset !important;
    box-shadow: 0 0 0 30px #f5f5f5 inset !important;
    -webkit-text-fill-color: #1a1a1a !important;
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 45px;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: color 0.2s;
}

.password-toggle-btn:hover {
    color: #374151;
}

.password-toggle-btn:focus {
    outline: none;
}

.signin-btn {
    margin-top: 32px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
}

.forgot-password-link {
    text-decoration: none;
    color: #6366f1;
    font-size: 0.9375rem;
}

.forgot-password-link:hover {
    text-decoration: underline;
    color: #4f46e5;
}

/* Responsive Design */
@media (max-width: 992px) {
    .split-screen-container {
        flex-direction: column;
    }

    .left-side {
        padding: 40px 30px;
        min-height: auto;
    }

    .right-side {
        padding: 40px 30px;
    }

    .welcome-title {
        font-size: 2rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .carousel-slides {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .left-side,
    .right-side {
        padding: 30px 20px;
    }

    .form-signin-wrapper {
        max-width: 100%;
    }

    .welcome-title {
        font-size: 1.5rem;
    }

    .carousel-slides {
        height: 250px;
    }

    .indicator {
        width: 30px;
    }

    .indicator.active {
        width: 45px;
    }
}