body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Abstract background elements */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url('https://ssgc-net.github.io/cdn/assets/images/monolithic_light_grey.svg') no-repeat center center,
        radial-gradient(circle at 20% 30%, rgba(255, 165, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 165, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 165, 0, 0.06) 0%, transparent 50%);
    background-size: cover, auto, auto, auto;
    opacity: 0.1;
    pointer-events: none;
}

.login-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.branding-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-right: 4rem;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.logo-image {
    height: 28px;
    width: auto;
}

.product-name {
    font-size: 3rem;
    font-weight: 700;
    color: var(--ssgc-sand);
    letter-spacing: -0.05em;
    margin: 0 0 0rem 0;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--ssgc-sand);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.dropdown-toggle:hover {
    background: rgba(255, 165, 0, 0.1);
    transform: translateY(-2px);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.75rem 1rem;
    color: var(--ssgc-textprimaryonlight);
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
}

.dropdown-item:hover {
    background: var(--ssgc-orange);
    color: white;
}

.dropdown-item.active {
    background: var(--ssgc-orange);
    color: white;
}

.product-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    max-width: 400px;
    margin-top: 8px;
}

.login-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-title {
    color: var(--ssgc-textprimaryonlight);
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    font-weight: 600;
    border: none;
}

/* Just here to override the default hover color */
.card-title:hover {
    color: var(--ssgc-textprimaryonlight);
    font-weight: 600;
}

.card-subtitle {
    color: var(--ssgc-textonlightsecondary);
    margin: 0;
    font-size: 1rem;
}

.form-section {
    margin-bottom: 1.5rem;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-buttons {
	display:flex;
	flex-direction: column;
	gap: 0.5em;
}

/* ==========================================================================
   DEMO-SPECIFIC COMPONENTS
   ========================================================================== */

/* QR Code Placeholder */
.qr-placeholder {
    width: 200px;
    height: 200px;
    border: 2px dashed var(--ssgc-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ssgc-bglight2-alpine);
    color: var(--ssgc-textonlightsecondary);
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

/* Instructions Container */
.instructions {
    background: var(--ssgc-bglight2-alpine);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.instructions h3 {
    color: var(--ssgc-textprimaryonlight);
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.instructions ol {
    margin: 0;
    padding-left: 1.5rem;
    color: var(--ssgc-textonlightsecondary);
    line-height: 1.6;
}

.instructions li {
    margin-bottom: 0.5rem;
}

.instructions strong {
    color: var(--ssgc-textprimaryonlight);
}

/* 2FA Code Input Container */
.code-input-container {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 1.5rem 0;
}

/* 2FA Code Input Overrides */
.ssgc-form-control.code-input {
    width: 50px !important;
    height: 60px !important;
    text-align: center !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ssgc-form-control.code-input.filled {
    border-color: var(--ssgc-orange) !important;
}

/* Auth Icon */
.auth-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-image {
    width: 64px;
    height: 64px;
    opacity: 0.8;
}

/* Mobile Responsive for Demo Components */
@media (max-width: 768px) {
    .qr-placeholder {
        width: 180px;
        height: 180px;
        font-size: 0.8rem;
    }

    .code-input-container {
        gap: 0.5rem;
    }

    .ssgc-form-control.code-input {
        width: 45px !important;
        height: 55px !important;
        font-size: 1.3rem !important;
    }

    .auth-image {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .qr-placeholder {
        width: 160px;
        height: 160px;
        font-size: 0.75rem;
    }

    .ssgc-form-control.code-input {
        width: 40px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
}

/* Mobile responsive design */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding: 1rem;
    }

    .branding-section {
        padding-right: 0;
        padding-bottom: 0;
        text-align: center;
        align-items: center;
    }

    .logo {
        justify-content: center;
    }

    .product-name {
        font-size: 2.5rem;
        text-align: center;
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }

    .product-description {
        display: none;
        /* Hide description on mobile */
    }

    .login-section {
        width: 100%;
    }

    .floating-card {
        padding: 2rem;
        margin: 0;
    }

}

/* Notification Styles */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.5rem;
    z-index: 1000;
    animation: slideInRight 0.3s ease;
    color: var(--ssgc-textprimaryonlight);
}

.notification-success {
    border-left: 4px solid var(--ssgc-success-green);
}

.notification-error {
    border-left: 4px solid var(--ssgc-error-red);
}

.notification-info {
    border-left: 4px solid var(--ssgc-orange);
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--ssgc-textonlightsecondary);
    margin-left: 1rem;
    padding: 0;
    line-height: 1;
}

.notification-close:hover {
    color: var(--ssgc-textprimaryonlight);
}

@media (max-width: 480px) {
    .product-name {
        font-size: 2rem;
    }

    .floating-card {
        padding: 1.5rem;
    }

    .notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        padding: 0.75rem 1rem;
    }
}

.reset-steps {
	background: var(--ssgc-bglight2-alpine);
	border-radius: 8px;
	padding: 1.5rem;
	margin: 1.5rem 0;
}

.reset-steps h3 {
	color: var(--ssgc-textprimaryonlight);
	margin: 0 0 1rem 0;
	font-size: 1.1rem;
	font-weight: 600;
}

.reset-steps ol {
	margin: 0;
	padding-left: 1.5rem;
	color: var(--ssgc-textonlightsecondary);
	line-height: 1.6;
}

.reset-steps li {
	margin-bottom: 0.5rem;
}

.reset-steps strong {
	color: var(--ssgc-textprimaryonlight);
}

.email-sent {
	text-align: center;
	padding: 2rem 0;
}

.email-sent-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.email-sent-title {
	color: var(--ssgc-success-green);
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.email-sent-message {
	color: var(--ssgc-textonlightsecondary);
	margin-bottom: 1.5rem;
}

