
/* Global Styling */

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

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #edf1f7;
    color: #172033;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

/* Main Container */

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 1100px;
    max-width: 100%;
    min-height: 680px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(15, 23, 42, 0.12);
}

/* Left Branding Panel */

.brand-panel {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 80%,
                        #234c99 0%, transparent 50%),
        linear-gradient(145deg, #0b1428, #142e5e);
    color: white;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Decorative Background */

.brand-panel::before,
.brand-panel::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.brand-panel::before {
    width: 400px;
    height: 400px;
    right: -180px;
    bottom: -100px;
}

.brand-panel::after {
    width: 540px;
    height: 540px;
    right: -250px;
    bottom: -170px;
}

.brand,
.brand-content,
.brand-footer {
    position: relative;
    z-index: 1;
}

/* Application Logo */

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 5px;
}

.logo {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: #3976f6;
    border-radius: 12px;
    font-size: 25px;
    letter-spacing: 0;
    box-shadow: 0 5px 25px rgba(57, 118, 246, 0.3);
}

/* Branding Content */

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #c5d6f5;
    margin-bottom: 26px;
}

.dot {
    width: 7px;
    height: 7px;
    background: #74a5ff;
    border-radius: 50%;
}

.brand-content h1 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
}

.brand-content h1 span {
    color: #82aaff;
}

.brand-content p {
    font-size: 15px;
    color: #aebed9;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 340px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    font-size: 14px;
    color: #dbe6f9;
}

.check {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(91, 150, 255, 0.15);
    color: #8ab4ff;
}

.brand-footer {
    font-size: 11px;
    letter-spacing: 2px;
    color: #91a5c6;
}

/* Right Login Panel */

.login-panel {
    padding: 60px 65px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-content {
    width: 100%;
    max-width: 400px;
    margin: auto;
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #3568dd;
    margin-bottom: 14px;
}

.login-content h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1.2px;
    color: #101b30;
    margin-bottom: 10px;
}

.subtitle {
    color: #748096;
    font-size: 15px;
    margin-bottom: 38px;
}

/* Input Fields */

.field {
    margin-bottom: 24px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #344054;
    margin-bottom: 10px;
}

.input-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9fafc;
    border: 1px solid #dce2eb;
    border-radius: 10px;
    padding: 0 15px;
    transition: 0.2s ease;
}

.input-box svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    color: #8290a6;
}

.input-box input {
    width: 100%;
    min-width: 0;
    height: 52px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #172033;
}

.input-box input::placeholder {
    color: #929db0;
}

.input-box:focus-within {
    border-color: #3976f6;
    background: white;
    box-shadow: 0 0 0 4px rgba(57, 118, 246, 0.1);
}

/* Remember Me */

.options {
    margin-bottom: 26px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #657187;
    cursor: pointer;
}

.remember input {
    width: 15px;
    height: 15px;
    accent-color: #3568dd;
}

/* Sign In Button */

.login-button {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 10px;
    background: #285edb;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(40, 94, 219, 0.2);
}

.login-button:hover {
    background: #1d4ec3;
    transform: translateY(-2px);
}

.login-button:active {
    transform: translateY(0);
}

.login-button span {
    font-size: 21px;
}

.demo-note {
    text-align: center;
    font-size: 11px;
    line-height: 1.7;
    color: #8490a4;
    margin-top: 17px;
}

/* Server Information */

.divider {
    height: 1px;
    background: #e8ecf2;
    margin: 26px 0;
}

.server-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #748096;
}

.server-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

/* Footer */

footer {
    text-align: center;
    font-size: 11px;
    color: #98a2b3;
    padding-top: 35px;
}

/* Responsive Design */

@media (max-width: 850px) {
    .container {
        grid-template-columns: 1fr;
    }

    .brand-panel {
        padding: 35px;
        gap: 35px;
    }

    .login-panel {
        padding: 45px 35px 25px;
    }

    .brand-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 12px;
    }

    .container {
        border-radius: 16px;
    }

    .brand-panel {
        padding: 25px;
    }

    .login-panel {
        padding: 35px 24px 25px;
    }

    .login-content h2 {
        font-size: 30px;
    }
}
