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

:root {
    --primary: #087f7b;
    --primary-dark: #066864;
    --text: #17212b;
    --muted: #6b7785;
    --border: #dfe5e9;
    --surface: #ffffff;
    --background: #f4f7f8;
}

body {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--background);
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.login-shell {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 48% 52%;
}

/* LEFT BRAND PANEL */

.login-brand-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 15%, rgba(255,255,255,0.12), transparent 28%),
        radial-gradient(circle at 90% 85%, rgba(255,255,255,0.08), transparent 30%),
        linear-gradient(145deg, #075f66 0%, #087f7b 48%, #0b9389 100%);
}

.login-brand-panel::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 50%;
    top: -260px;
    right: -180px;
}

.login-brand-panel::after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    bottom: -250px;
    left: -180px;
}

.brand-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    text-align: center;
}

.cams-logo {
    width: 220px;
    height: 220px;
    object-fit: contain;
    margin-bottom: 28px;
    filter: drop-shadow(0 12px 25px rgba(0,0,0,0.16));
}

.brand-content h1 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.brand-title {
    color: rgba(255,255,255,0.94);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

.brand-description {
    color: rgba(255,255,255,0.76);
    font-size: 15px;
    line-height: 1.7;
    max-width: 420px;
    margin: auto;
}

.brand-footer {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
}

/* RIGHT LOGIN PANEL */

.login-form-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: #f7f9fa;
}

.login-card {
    width: 100%;
    max-width: 440px;
}

.mobile-logo {
    display: none;
}

.login-heading {
    margin-bottom: 32px;
}

.welcome-label {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    margin-bottom: 10px;
}

.login-heading h2 {
    font-size: 31px;
    line-height: 1.2;
    letter-spacing: -0.7px;
    margin-bottom: 10px;
}

.login-heading p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

/* FORM */

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
}

.form-group input::placeholder {
    color: #a2adb7;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8,127,123,0.10);
}

/* BUTTON */

.login-button {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 10px;
    margin-top: 8px;
    background: var(--primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: 0.2s ease;
}

.login-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(8,127,123,0.18);
}

.login-button span {
    font-size: 19px;
    line-height: 1;
}

/* SECURITY */

.login-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 24px;
    color: #89949e;
    font-size: 12px;
}

.security-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #36a269;
}

/* COPYRIGHT */

.login-copyright {
    margin-top: 38px;
    color: #9aa4ad;
    font-size: 11px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-brand-panel {
        display: none;
    }

    .login-form-panel {
        min-height: 100vh;
        padding: 30px 24px;
    }

    .mobile-logo {
        display: block;
        text-align: center;
        margin-bottom: 28px;
    }

    .mobile-logo img {
        width: 110px;
        height: 110px;
        object-fit: contain;
    }
}

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

    .login-heading h2 {
        font-size: 27px;
    }
}