/* VK Events Premium Login Design */
/* Visual styling only */

body {
    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(59,130,246,0.16),
            transparent 35%
        ),
        linear-gradient(135deg,#0b1428,#142e67,#1e40af);
}

/* Main container */

.login-wrapper {
    max-width:1040px;
    border-radius:26px;
    box-shadow:0 30px 80px rgba(0,0,0,0.28);
}

/* Branding panel */

.brand-panel {
    background:
        linear-gradient(145deg,#101c37,#192f61,#203d7e);
    padding:42px 38px;
    text-align:center;
    align-items:center;
}

.brand-panel::after {
    width:200px;
    height:200px;
    background:rgba(255,255,255,0.035);
    pointer-events:none;
}

/* Original logo - image remains unchanged */

.brand-logo-container {
    margin-bottom:18px;
    position:relative;
    z-index:1;
}

.vk-brand-logo {
    width:132px;
    height:132px;
    object-fit:contain;
    border-radius:16px;
    box-shadow:0 12px 28px rgba(0,0,0,0.22);
}

/* System badge */

.brand-badge {
    margin:0 auto 18px;
    padding:9px 18px;
    background:rgba(255,255,255,0.11);
    border:1px solid rgba(255,255,255,0.12);
    color:#e8efff;
    font-size:12px;
    font-weight:700;
    letter-spacing:0.2px;
}

/* Main title */

.software-name {
    color:#ffffff;
    font-size:clamp(25px,2.5vw,36px);
    font-weight:800;
    line-height:1.15;
    letter-spacing:-0.8px;
    margin-bottom:16px;
}

/* Operator information */

.operator-section {
    margin-bottom:22px;
}

.operator-highlight {
    display:block;
    color:#f5c76a;
    font-size:15px;
    font-weight:800;
    line-height:1.5;
}

.enterprise-name {
    margin-top:7px;
    color:#e2e8f0;
    font-size:13px;
    font-weight:500;
}

/* Description */

.brand-text {
    color:#dce6f8;
    font-size:14px;
    line-height:1.75;
    max-width:410px;
    margin:0 auto;
}

/* Developer credit */

.developed-by {
    width:100%;
    max-width:410px;
    margin-top:24px;
    padding-top:18px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,0.15);
    color:#cbd5e1;
    font-size:12px;
    line-height:1.7;
}

.developed-by a {
    color:#ffffff;
}

/* Login panel */

.login-panel {
    background:#ffffff;
    padding:46px 40px;
}

.login-title {
    font-size:30px;
    font-weight:800;
    letter-spacing:-0.7px;
    color:#14213d;
}

.login-subtitle {
    font-size:14px;
    color:#64748b;
    margin-bottom:26px;
}

/* Inputs */

.form-control {
    border-radius:12px;
    min-height:50px;
    border:1px solid #d8e1ef;
    background:#fbfcff;
    transition:border-color .2s,box-shadow .2s;
}

.form-control:focus {
    border-color:#2563eb;
    background:#ffffff;
    box-shadow:0 0 0 3px rgba(37,99,235,0.12);
}

/* Buttons */

.btn-login {
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    border-radius:12px;
    min-height:48px;
    box-shadow:0 6px 14px rgba(37,99,235,0.16);
}

.btn-register {
    min-height:48px;
    border-radius:12px;
}

/* Mobile layout */

@media (max-width:900px) {

    body {
        padding:12px;
        align-items:flex-start;
    }

    .login-wrapper {
        grid-template-columns:1fr;
        border-radius:22px;
        margin:0 auto;
    }

    .brand-panel {
        padding:28px 16px 26px;
    }

    .vk-brand-logo {
        width:112px;
        height:112px;
    }

    .brand-logo-container {
        margin-bottom:14px;
    }

    .brand-badge {
        margin-bottom:14px;
    }

    .software-name {
        font-size:clamp(15px,4.5vw,30px);
        white-space:nowrap;
        letter-spacing:-0.5px;
        margin-bottom:12px;
    }

    .operator-section {
        margin-bottom:16px;
    }

    .operator-highlight {
        font-size:13px;
    }

    .enterprise-name {
        font-size:12px;
        margin-top:5px;
    }

    .brand-text {
        font-size:13px;
        line-height:1.6;
    }

    .developed-by {
        margin-top:18px;
        padding-top:14px;
    }

    .login-panel {
        padding:32px 22px;
    }

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

@media (max-width:360px) {

    .brand-panel {
        padding-left:10px;
        padding-right:10px;
    }

    .software-name {
        font-size:clamp(13px,4.1vw,16px);
        letter-spacing:-0.6px;
    }

    .operator-highlight {
        font-size:12px;
    }

    .login-panel {
        padding:26px 16px;
    }
}

/* ========================================
   VK EVENTS - MOBILE BRANDING ENHANCEMENT
   ======================================== */

@media (max-width: 600px) {

    /* Utilize available horizontal space */
    .brand-panel {
        padding: 30px 12px 28px !important;
    }

    /* Main cafeteria heading */
    .brand-panel h1 {
        font-size: 27px !important;
        font-weight: 800 !important;
        line-height: 1.18 !important;
        letter-spacing: -0.6px !important;
        margin: 14px 0 12px !important;
    }

    /* Branding text */
    .brand-panel h2,
    .brand-panel h3 {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    /* General branding paragraphs */
    .brand-panel p {
        line-height: 1.5 !important;
    }

    /* Keep original logo proportions */
    .vk-brand-logo {
        max-width: 132px !important;
        height: auto !important;
    }
}


/* VK Events - Corrected Mobile Branding */

@media (max-width: 600px) {

    .brand-panel {
        padding: 28px 10px 26px !important;
    }

    .brand-badge {
        font-size: 15px !important;
        font-weight: 700 !important;
        padding: 10px 16px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .software-name {
        font-size: clamp(23px, 6vw, 28px) !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.5px !important;
        margin: 15px 0 12px !important;
    }

    .operator-section {
        width: 100% !important;
        max-width: 100% !important;
    }

    .operator-highlight {
        font-size: clamp(15px, 4.2vw, 18px) !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
        letter-spacing: -0.3px !important;
    }

    .enterprise-name {
        font-size: 15px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        margin-top: 6px !important;
    }

    .brand-text {
        font-size: 14px !important;
        line-height: 1.55 !important;
        margin-top: 20px !important;
    }

    .vk-brand-logo {
        width: 132px !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

