.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-glass {
    width: 95%;
    max-width: 1200px;
    height: 600px;
    display: flex;
    overflow: hidden;
    backdrop-filter: blur(18px);
    background: rgba(103, 186, 255, 0.15);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    transition: transform 0.8s ease;
}

/* DEFAULT → LOGIN ON RIGHT */
.login-glass.login-active {
    transform: translateX(0);
}

/* SLIDE TO ABOUT */
.login-glass.about-active {
    transform: translateX(-45%);
}

.hospital-logo {
    width: 520px;
    /* increased width only */
    height: 150px;
    /* height unchanged */
    object-fit: contain;
    margin-bottom: 25px;
}

.about-slider {
    width: 55%;
    padding: 45px;
    background: hsl(0, 63%, 82%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.about-content {
    transition: all 0.5s ease;
}

.about-content.full {
    display: none;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar (clean & subtle) */
.about-content.full::-webkit-scrollbar {
    width: 5px;
}

.about-content.full::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
}

.login-panel {
    width: 45%;
    padding: 55px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dev-link {
    position: relative;
    color: #2b2b2b;
    text-decoration: none;
    padding: 2px 6px;
    z-index: 1;
    transition: color 0.25s ease;
    overflow: hidden;
}

/* Parallelogram background */
.dev-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0%;
    width: 0;
    height: 100%;
    background-color: #ff6b6b; /* sky red */
    transform: skewX(-20deg);
    transform-origin: left;
    transition: width 0.3s ease;
    z-index: -1;
}

.dev-link:hover {
    color: #fff; /* readable on red */
}

.dev-link:hover::after {
    width: 100%;
}

/* Login button: blue border, red text */
.login-btn {
    color: #000 !important;
    border-color: #ff6b6b; /* Bootstrap primary */
    transition: all 0.2s ease-in-out;
}

/* Hover state */
.login-btn:hover,
.login-btn:focus {
    background-color: #ff6b6b !important;
    color: #ffffff !important;
    border-color: #ff6b6b !important;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .login-glass {
        flex-direction: column;
        height: auto;
        transform: none !important;
    }

    .about-slider,
    .login-panel {
        width: 100%;
    }
}

.problem-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.problem-modal.show {
    display: flex;
}

.problem-modal-content {
    background: #fff;
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    padding: 24px;
    animation: slideUp 0.35s ease;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #555;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
