.login-container {
    display: flex;
    flex-direction: row-reverse;
    min-height: 100vh;
    position: relative;
}

.login-left {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    z-index: 2;
}

.login-form {
    width: 100%;
    max-width: 420px;
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-text {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

.logo-image {
    height: 25px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #1e40af;
    letter-spacing: 1px;
}

.subtitle {
    color: #94a3b8;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 50px 16px 44px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #1e293b;
    transition: all 0.3s ease;
    background: #f8fafc;
    outline: none;
}

.form-input:focus {
    border-color: #1e40af;
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.input-icon {
    z-index: 2;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #1e40af;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #1e40af;
}

.forgot-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.signup-link {
    text-align: center;
    margin: 25px 0;
    color: #64748b;
    font-size: 14px;
}

.signup-link a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
    color: #94a3b8;
    font-size: 13px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: -1;
}

.divider span {
    background: white;
    padding: 0 16px;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #64748b;
}

.social-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-btn.google:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.social-btn.linkedin:hover {
    border-color: #0077b5;
    color: #0077b5;
}

.social-btn.microsoft:hover {
    border-color: #0078d4;
    color: #0078d4;
}

.login-right {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;
    color: #1e293b;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(30, 64, 175, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(30, 64, 175, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 40% 80%, rgba(30, 64, 175, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 70px 70px, 30px 30px;
    animation: videoPattern 20s linear infinite;
}

.right-content {
    text-align: center;
    z-index: 2;
    max-width: 750px;
    padding: 40px;
    margin-bottom: 40px;
}

.webinar-logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(30, 64, 175, 0.15));
    animation: logoFloat 2s ease-in-out infinite;
}

.right-title {
    font-size: 33px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1px;
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.right-subtitle {
    font-size: 18px;
    color: #64748b;
    line-height: 1.6;
    font-weight: 400;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #475569;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.stats-bar {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    background: rgba(30, 64, 175, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    border: 1px solid rgba(30, 64, 175, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1e293b;
}

.stat-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 50%;
    animation: float 12s infinite ease-in-out;
}

.floating-element:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 70%;
    right: 20%;
    animation-delay: 3s;
}

.floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 45%;
    left: 5%;
    animation-delay: 6s;
}

.divider-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 35px 0;
}

.divider-or::before,
.divider-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e6e6e6;
}

.divider-or span {
    font-size: 13px;
    color: #666;
    padding: 0 8px;
    background: #fff;
    border-radius: 2px;
}

.btn-login-with-kmk {
    width: 100%;
    background: linear-gradient(135deg, #f1f1f15e, #e3e3e3b3);
    color: #1f1f1fcf;
    border: 1px solid #8080808a;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.btn-login-with-kmk a {
    color: #1f1f1fcf;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.btn-login-with-kmk a:hover {
    text-decoration: none;
    color: #1f1f1fcf;
}

.btn-login-with-kmk:hover {
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
    }
    50% {
        transform: translateY(-60px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-8px) rotate(2deg);
    }
    66% {
        transform: translateY(-12px) rotate(-2deg);
    }
}

@keyframes videoPattern {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }
    100% {
        background-position: 50px 50px, -70px 70px, 30px -30px;
    }
}

@media (min-width: 1200px) {
    .login-left {
        padding: 80px 60px;
    }

    .login-form {
        max-width: 450px;
    }

    .right-content {
        padding: 60px 50px;
    }
}

@media (max-width: 1024px) {
    .login-left {
        padding: 50px 30px;
    }

    .right-content {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .logo-text {
        font-size: 26px;
    }

    .right-title {
        font-size: 28px;
    }

    .right-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 968px) {
    .login-container {
        flex-direction: column;
        min-height: 100vh;
    }

    .login-left {
        flex: none;
        min-height: auto;
        padding: 40px 20px !important;
        order: 1;
    }

    .login-right {
        flex: none;
        min-height: 300px;
        order: 2;
        justify-content: center;
    }

    .right-content {
        padding: 20px !important;
        margin-bottom: 0;
        width: 100%;
        max-width: 100%;
    }

    .right-content img {
        width: 70% !important;
        max-width: 400px !important;
        margin-left: 0 !important;
    }

    .logo-text {
        font-size: 24px;
    }

    .welcome-text {
        font-size: 13px;
    }

    .stats-bar {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin: 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .d-flex.flex-column {
        padding: 0 20px !important;
    }

    .d-flex.gap-4 {
        flex-direction: column;
        gap: 10px !important;
        align-items: flex-start !important;
    }

    .right-title {
        font-size: 24px !important;
    }

    .right-subtitle {
        font-size: 14px !important;
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-left {
        padding: 30px 20px !important;
        flex: none;
        width: 100%;
        min-height: 100vh;
    }

    .login-form {
        max-width: 100%;
    }

    .logo-text {
        font-size: 22px;
    }

    .logo-image {
        height: 22px;
    }

    .form-input {
        padding: 14px 45px 14px 40px;
        font-size: 14px;
    }

    .input-icon {
        left: 14px;
        font-size: 15px;
    }

    .password-toggle {
        right: 14px;
        font-size: 15px;
    }

    .login-btn {
        padding: 14px;
        font-size: 14px;
    }

    .btn-login-with-kmk {
        font-size: 14px;
        padding: 14px;
    }

    .btn-login-with-kmk a {
        padding: 14px !important;
    }

    .btn-login-with-kmk img {
        width: 120px !important;
    }

    .remember-forgot {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .login-right {
        display: none;
    }
}

@media (max-width: 480px) {
    .login-left {
        padding: 20px 15px !important;
    }

    .logo-section {
        margin-bottom: 30px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-image {
        height: 20px;
    }

    .welcome-text {
        font-size: 12px;
    }

    .subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .form-input {
        padding: 12px 40px 12px 35px;
        font-size: 13px;
        border-radius: 10px;
    }

    .input-icon {
        left: 12px;
        font-size: 14px;
    }

    .password-toggle {
        right: 12px;
        font-size: 14px;
    }

    .login-btn {
        padding: 12px;
        font-size: 13px;
        border-radius: 10px;
    }

    .btn-login-with-kmk {
        font-size: 13px;
        padding: 12px;
    }

    .btn-login-with-kmk a {
        padding: 12px !important;
    }

    .btn-login-with-kmk img {
        width: 100px !important;
    }

    .remember-forgot {
        font-size: 13px;
        gap: 8px;
    }

    .remember-me input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }

    .login-right {
        min-height: 350px;
    }

    .right-content {
        padding: 15px 10px !important;
    }

    .right-content img {
        width: 80% !important;
        max-width: 250px !important;
    }

    .divider-or {
        margin: 25px 0;
    }

    .d-flex.flex-column {
        padding: 0 10px !important;
    }

    .d-flex.gap-4 {
        gap: 8px !important;
    }

    .right-title {
        font-size: 20px !important;
    }

    .right-subtitle {
        font-size: 12px !important;
    }

    .stats-bar {
        margin: 15px;
        padding: 15px;
    }
}

@media (max-width: 360px) {
    .login-left {
        padding: 15px 10px !important;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-image {
        height: 18px;
    }

    .subtitle {
        font-size: 13px;
    }

    .form-input {
        padding: 10px 35px 10px 30px;
        font-size: 12px;
    }

    .input-icon {
        left: 10px;
        font-size: 13px;
    }

    .password-toggle {
        right: 10px;
        font-size: 13px;
    }

    .login-btn {
        padding: 10px;
        font-size: 12px;
    }

    .btn-login-with-kmk {
        font-size: 12px;
        padding: 10px;
    }

    .btn-login-with-kmk a {
        padding: 10px !important;
    }

    .btn-login-with-kmk img {
        width: 90px !important;
    }

    .remember-forgot {
        font-size: 12px;
    }

    .right-content img {
        width: 90% !important;
        max-width: 200px !important;
    }

    .d-flex.flex-column {
        padding: 0 8px !important;
    }

    .right-title {
        font-size: 18px !important;
    }

    .right-subtitle {
        font-size: 11px !important;
    }

    .login-right {
        min-height: 300px;
    }
}

@media (max-width: 320px) {
    .login-left {
        padding: 10px 8px !important;
    }

    .logo-section {
        margin-bottom: 25px;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-image {
        height: 16px;
    }

    .welcome-text {
        font-size: 11px;
    }

    .subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-input {
        padding: 8px 30px 8px 25px;
        font-size: 11px;
    }

    .input-icon {
        left: 8px;
        font-size: 12px;
    }

    .password-toggle {
        right: 8px;
        font-size: 12px;
    }

    .login-btn {
        padding: 8px;
        font-size: 11px;
    }

    .btn-login-with-kmk {
        font-size: 11px;
        padding: 8px;
    }

    .btn-login-with-kmk a {
        padding: 8px !important;
    }

    .btn-login-with-kmk img {
        width: 80px !important;
    }

    .remember-forgot {
        font-size: 11px;
        gap: 5px;
    }

    .remember-me input[type="checkbox"] {
        width: 12px;
        height: 12px;
    }

    .right-content {
        padding: 10px 5px !important;
    }

    .right-content img {
        width: 95% !important;
        max-width: 180px !important;
    }

    .divider-or {
        margin: 20px 0;
    }

    .divider-or span {
        font-size: 11px;
        padding: 0 6px;
    }

    .d-flex.flex-column {
        padding: 0 5px !important;
    }

    .right-title {
        font-size: 16px !important;
    }

    .right-subtitle {
        font-size: 10px !important;
    }

    .login-right {
        min-height: 250px;
    }

    .stats-bar {
        margin: 10px;
        padding: 10px;
    }
}

@media (max-height: 600px) and (orientation: landscape) and (max-width: 968px) {
    .login-container {
        flex-direction: row-reverse;
    }

    .login-left {
        min-height: 100vh;
        padding: 20px !important;
    }

    .login-right {
        min-height: 100vh;
    }

    .logo-section {
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .remember-forgot {
        margin: 15px 0;
    }

    .right-content {
        padding: 20px !important;
    }

    .right-content img {
        width: 60% !important;
        max-width: 300px !important;
    }

    .subtitle {
        margin-bottom: 20px;
    }

    .divider-or {
        margin: 20px 0;
    }
}

@media (min-width: 1600px) {
    .login-left {
        padding: 100px 80px;
    }

    .login-form {
        max-width: 500px;
    }

    .right-content {
        padding: 80px 60px;
    }
}

@media print {
    .login-right {
        display: none;
    }

    .login-left {
        flex: none;
        width: 100%;
        padding: 20px;
    }
}