body {
    background-color: var(--background-color);
    color: var(--font-color);
    font-family: Arial, sans-serif;
    margin: 0;
}

h1 {
    margin-top: 0;
    margin-bottom: 5px;
    text-align: center;
    color: var(--primary-accent-color);
}

.login-btn {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.2s ease;
}

.reset-password-btn {
    text-decoration: underline;
    font-size: 12px;
    color: var(--font-color);
    margin-top: 12px;
    border: none;
    background: none;
    opacity: 0.85;
}

.reset-password-btn:hover {
    cursor: pointer;
    color: var(--other-color);
}

.microsoft-btn {
    background: var(--primary-accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.microsoft-btn:hover {
    background: var(--secondary-color);
}

.divider {
    text-align: center;
    margin: 20px 10px 10px 10px;
    font-size: 14px;
    opacity: 0.8;
}

.email-box {
    display: flex;
    flex-direction: column;
}

.email-box label {
    opacity: 0.85;
}

.email-box input {
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
    border: 1.5px solid var(--input-color);
    background-color: var(--background-color);
    color: var(--font-color);
}

.email-next-btn {
    background: var(--primary-accent-color);
    color: white;
}

.email-next-btn:hover {
    background: var(--secondary-color);
}

.login-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--accent-color) !important;
    color: var(--font-color) !important;
    pointer-events: none;
}

.error-msg {
    color: rgb(177, 29, 29);
    margin-top: 14px;
    text-align: center;
    margin-bottom: 0;
}

.dyn-error {
    color: rgb(177, 29, 29);
    text-align: center;
    margin-bottom: 0;
}

.dynamic-login-section label {
    margin-top: 10px;
    display: block;
    font-size: 14px;
}

.dynamic-login-section input {
    width: 100%;
    margin-top: 6px;
    padding: 10px;
    border-radius: 10px;
    border: 1.5px solid var(--input-color);
    background-color: var(--background-color);
    color: var(--font-color);
}

.login-border {
    margin-top: 10vh;
    padding: 20px;
    border-radius: 10px;
}

.primary-btn {
    background: var(--primary-accent-color);
    color: white;
}

.primary-btn:hover {
    background: var(--secondary-color);
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    flex: 1;
    padding-right: 60px;
}

.pw-toggle:active {
    background: var(--secondary-accent-color);
    border-radius: 15px;
}

.pw-toggle {
    position: absolute;
    right: 8px;
    bottom: 3px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pw-toggle img.pw-icon {
    width: 22px;
    height: 22px;
    pointer-events: none;
}

/* The container that floats above the carousel */
.login-text {
    position: absolute;
    top: 6vh;
    left: 35%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
    pointer-events: none;
    flex-direction: column;
}

/* Logo inside login-text */
.login-text img {
    height: 80px !important;
    width: auto;
}

/* Text styling */
.carousel-text {
    font-size: 34px;
}

.hero-top {
  display: flex;
  align-items: flex-end;
  gap: 15px;
}

.hero-top h1 {
  font-size: 3em;
  margin: 0 0 5px 0;
}

/* FULL PAGE LAYOUT */
.login-page-wrapper {
    display: flex;
    min-height: calc(100vh - 50px);
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.carousel-text {
    font-size: 18px;
    color: var(--font-color);
    font-weight: normal;
}

/* 3D WRAPPER PROVIDES PERSPECTIVE */
.login-left-showcase {
    flex: 1.2;
    display: flex;
    align-items: center;
    perspective: 1600px;
    pointer-events: none;
    padding: 0;
    justify-content: flex-end;
}

/* 3D IMAGE */
.login-left-showcase img {
    width: 65vw;
    border-radius: 18px;
    box-shadow:
        -16px -12px 28px var(--shadow),
        -6px -5px 14px var(--shadow);
    opacity: 0.97;
}

/* RIGHT PANEL (LOGIN SIDE) */
.login-right-panel {
    display: flex;
}

/* Slight enhancement to your login card */
.login-options-container {
    width: 20vw;
    background: var(--sub-background-color);
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo-container-image img {
    width: 200px;
    height: auto !important;
}

.logo-container-image {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

/* CAROUSEL BASE */
.carousel {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    perspective: 1600px;
    overflow: hidden;
    pointer-events: auto;
}

/* Inner container that holds all slides */
.carousel-inner {
    width: 65vw;
    height: 100%;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 0; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    margin-bottom: 20px; 
    z-index: 20;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background: var(--input-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.25s ease;
}

.carousel-dot.active {
    background: var(--primary-accent-color);
    transform: scale(1.3);
}

/* Each slide */
.carousel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    opacity: 1;
}

/* Slide images keep your 3D styling */
.carousel-item img {
    width: 65vw;
    border-radius: 18px;
}

/* Caption text */
.carousel-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--font-color);
    font-size: 18px;
}

/* Release notes slide */
.carousel-item.carousel-release {
    width: 65vw;
}

/* Card that mimics an image */
.release-card {
    width: 65vw;
    padding: 24px 28px;
    border-radius: 18px;
    background: var(--sub-background-color);
    box-shadow:
        -16px -12px 28px var(--shadow),
        -6px -5px 14px var(--shadow);
    box-sizing: border-box;
}

/* Header row: tag + version */
.release-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.release-tag {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-accent-color);
}

.release-version {
    font-weight: bold;
    font-size: 18px;
}

.release-date {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 14px;
}

/* Sections and bullet list */
.release-section-title {
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 4px;
    font-size: 18px;
}

.release-body ul {
    padding: 0;
    font-size: 15px;
    line-height: 1.35;
}

.release-body li {
    margin-bottom: 12px;
    margin-left: 20px;
}

/* Footer link */
.release-footer {
    margin-top: 16px;
    font-size: 13px;
}

.release-footer a {
    color: var(--primary-accent-color);
    text-decoration: underline;
    font-weight: 600;
}

.release-footer a:hover {
    color: var(--secondary-color);
}

.login-subtext {
    font-size: 13px;
    text-align: center;
    margin: 15px 0 18px 0;
    color: var(--font-color);
    opacity: 0.85;
    line-height: 1.4;
}

.login-subtext-support {
    font-size: 13px;
    text-align: center;
    color: var(--font-color);
    opacity: 0.85;
    line-height: 1.4;
}

.login-subtext a, .login-subtext-support a {
    color: var(--primary-accent-color);
    text-decoration: underline;
    font-weight: bold;
}

.login-subtext a:hover, .login-subtext-support a:hover {
    color: var(--secondary-color);
}

/* Mobile responsive */
@media (max-width: 900px) {
    .login-page-wrapper {
        flex-direction: column;
        padding: 20px;
        height: auto;
    }

    .login-left-showcase img {
        width: 70%;
        transform: rotate(0deg);
    }

    .login-right-panel {
        margin-top: 30px;
        width: auto;
    }
    
    .login-options-container {
        width: auto;
        background: var(--sub-background-color);
        padding: 15px;
        border: none;
        border-radius: 10px;
    }
}

