* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f0f2f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
    align-items: center;
    gap: 80px;
    padding: 40px;
}

.brand-section {
    flex: 1;
    max-width: 500px;
}

.brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
   
}
.logo-image { 
    width: 50%;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    box-shadow: 0 8px 32px rgba(24, 119, 242, 0.3);
}

.logo-icon i {
    font-size: 28px;
    color: white;
}

.brand-name {
    font-size: 48px;
    font-weight: 700;
    color: #1877f2;
    letter-spacing: -1px;
}

.brand-tagline {
    font-size: 28px;
    color: #1c1e21;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 20px;
}

.brand-description {
    font-size: 18px;
    color: #65676b;
    line-height: 1.5;
    margin-bottom: 40px;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
    color: #65676b;
}

.features-list i {
    color: #42b883;
    margin-right: 12px;
    font-size: 18px;
}

.login-section {
    flex: 0 0 400px;
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #dddfe2;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    color: #1c1e21;
    margin-bottom: 8px;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1c1e21;
    margin-bottom: 8px;
}

.input-container {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border: 1px solid #dddfe2;
    border-radius: 8px;
    background: #f5f6f7;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #1877f2;
    background: white;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2);
}

.form-input::placeholder {
    color: #8a8d91;
}

.login-button {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: #1877f2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-bottom: 20px;
}

.login-button:hover {
    background: #166fe5;
}

.login-button:active {
    background: #1464d8;
}

.divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

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

.divider span {
    background: white;
    padding: 0 16px;
    color: #65676b;
    font-size: 14px;
}

.forgot-password {
    text-align: center;
    margin-top: 16px;
}

.forgot-password a {
    color: #1877f2;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.alert {
    background: #ffebee;
    border: 1px solid #f8bbd9;
    color: #c62828;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-icon {
    margin-right: 8px;
}

.alert-content {
    display: flex;
    align-items: flex-start;
}

.alert-text {
    flex: 1;
}

.alert-text div {
    margin-bottom: 4px;
}

.alert-text div:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .main-container {
        gap: 40px;
    }

    .brand-tagline {
        font-size: 24px;
    }

    .brand-name {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        gap: 40px;
        padding: 20px;
        min-height: auto;
    }

    .brand-section {
        text-align: center;
        max-width: none;
    }
    

    .brand-tagline {
        font-size: 20px;
    }

    .brand-name {
        font-size: 32px;
    }

    .login-section {
        flex: none;
        width: 100%;
        max-width: 400px;
    }

    .features-list {
        display: none;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 24px;
    }

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

.login-button:disabled {
    background: #e4e6ea;
    color: #bcc0c4;
    cursor: not-allowed;
}

.login-button:focus-visible,
.form-input:focus-visible {
    outline: 2px solid #1877f2;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .brand-name {
        font-size: 28px;
    }

    .brand-tagline {
        font-size: 18px;
        line-height: 1.2;
    }

    .brand-description {
        font-size: 15px;
    }

    .login-title {
        font-size: 20px;
    }

    .login-card {
        padding: 20px;
        box-shadow: none;
        border: none;
    }

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

    .main-container {
        padding: 10px;
    }

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

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

    .d-flex.justify-content-between.mt-3.px-1.small {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .brand-logo {
        justify-content: center;
    }
}
