﻿:root {
    --primary-color: #0383f5bf;
    --secondary-color: #078fffd6;
    --accent-color: #0383f5;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-muted: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: var(--dark-color);
    min-height: 100vh;
    overflow-x: hidden;
}

.login-container {
    display: flex;
    min-height: calc(100vh - 72px);
}

.login-form-container {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    background-color: white;
    overflow-y: auto;
}

.promo-container {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    justify-content: space-between;
    padding-top: 1.25rem;
}

.promo-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/images/themeskyslogin.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.18;
    z-index: 0;
}

.promo-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

    .logo i {
        font-size: 2rem;
        color: var(--primary-color);
        margin-right: 0.5rem;
    }

    .logo span {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--dark-color);
    }

.login-form {
    width: 100%;
    max-width: 420px;
    padding-bottom: 0.5rem;
}

.form-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.4;
}

.form-floating {
    margin-bottom: 1.25rem;
}

.form-control {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    height: auto;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem rgba(3, 131, 245, 0.25);
    }

.btn-login {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    width: 100%;
    margin-bottom: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
        color: white;
    }

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

    .divider::before,
    .divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background-color: #e2e8f0;
    }

    .divider span {
        padding: 0 1rem;
        color: var(--text-muted);
        font-size: 0.875rem;
    }

.social-login {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: white;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

    .social-btn:hover {
        background-color: #f8fafc;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        color: var(--dark-color);
    }

.register-link {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

    .register-link a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
    }

        .register-link a:hover {
            text-decoration: underline;
        }

.promo-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    margin-top: 0.25rem;
}

.promo-subtitle {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    opacity: 0.9;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.feature-item {
    display: block;
}

.feature-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.3rem;
    color: white;
}

.feature-content {
    flex: 1;
    padding-top: 0.25rem;
}

.feature-title {
    margin: 0;
    padding: 0;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    color: white;
}

.feature-description {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    padding-left: 3.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial {
    margin-top: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
}

.author-info h6 {
    margin: 0;
    font-weight: 600;
}

.author-info small {
    opacity: 0.8;
}

.form-check {
    margin-bottom: 1.25rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.forgot-password {
    text-align: right;
    margin-bottom: 1.25rem;
}

    .forgot-password a {
        color: var(--primary-color);
        text-decoration: none;
        font-size: 0.875rem;
    }

        .forgot-password a:hover {
            text-decoration: underline;
        }

.tech-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    padding: 0.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.75rem;
}

.tech-icons {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.tech-icon {
    width: 48px;
    min-width: 48px;
}

.tech-icon i,
.tech-logo {
    font-size: 1.5rem;
    width: 24px;
    height: 24px;
}

.tech-icon span {
    color: #0f172a;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    color: inherit;
    font-size: 0.75rem;
}

.tech-icon:hover span {
    opacity: 1;
    visibility: visible;
}

.tech-html { color: #e34f26; }
.tech-css { color: #1572b6; }
.tech-js { color: #f7df1e; }
.tech-react { color: #61dafb; }
.tech-angular { color: #dd0031; }
.tech-vue { color: #4fc08d; }
.tech-sass { color: #cc6699; }
.tech-bootstrap { color: #7952b3; }
.tech-dotnet { color: #512bd4; }
.tech-node { color: #339933; }
.tech-postman { color: #ff6c37; }
.tech-selenium { color: #43b02a; }
.tech-playwright { color: #2e2e2e; }
.tech-cypress { color: #17202c; }

.audience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

.audience-tag {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-item i {
    color: #16a34a;
}

@media (max-width: 991px) {
    .login-container {
        flex-direction: column;
    }

    .login-form-container,
    .promo-container {
        width: 100%;
        min-height: auto;
    }

    .login-form-container {
        order: 1;
        padding: 2rem 1.5rem;
    }

    .promo-container {
        order: 2;
        display: flex;
        padding: 2rem 1.5rem;
    }

    .promo-content {
        max-width: 100%;
    }

    .promo-container::before {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .feature-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .feature-icon i {
        font-size: 1.2rem;
    }

    .feature-description {
        padding-left: 3.5rem;
    }
}

@media (max-width: 576px) {
    .login-form-container,
    .promo-container {
        padding: 1.25rem 1rem;
    }

    .promo-title {
        font-size: 1.5rem;
    }

    .promo-subtitle {
        font-size: 0.95rem;
    }

    .social-login {
        flex-direction: column;
    }

    .feature-list {
        gap: 1.25rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 10px;
    }

    .feature-icon i {
        font-size: 1.1rem;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-description {
        font-size: 14px;
        padding-left: 3.25rem;
    }

    .audience-tags {
        gap: 0.4rem 0.6rem;
    }

    .audience-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
}

@media (max-width: 400px) {
    .feature-header {
        gap: 0.5rem;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .feature-description {
        padding-left: 2.875rem;
    }
}
