:root {
    --primary: #2596be;
    --primary-soft: rgba(37, 150, 190, 0.12);
    --surface: #ffffff;
    --border: #eef2f6;
    --text: #0f172a;
    --muted: #64748b;
}

html, body {
    height: 100%;
    min-height: 100vh;
}

html {
    background: radial-gradient(circle at 20% 20%, rgba(37, 150, 190, 0.10) 0, rgba(37, 150, 190, 0.04) 30%, #f8f9fa 70%, #f8f9fa 100%);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(37, 150, 190, 0.10) 0, rgba(37, 150, 190, 0.04) 30%, #f8f9fa 70%, #f8f9fa 100%);
    color: var(--text);
    overflow-x: hidden;
    zoom: 79.9%;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 20% 20%, rgba(37, 150, 190, 0.10) 0, rgba(37, 150, 190, 0.04) 30%, #f8f9fa 70%, #f8f9fa 100%);
}

@media (max-width: 1280px) {
    body {
        zoom: 65%;
    }
}

@media (max-width: 719px) {
    body {
        zoom: 80%;
    }
}

.main-wrapper {
    background: radial-gradient(circle at 20% 20%, rgba(37, 150, 190, 0.10) 0, rgba(37, 150, 190, 0.04) 30%, #f8f9fa 70%, #f8f9fa 100%);
    min-height: 100vh;
    width: 100%;
}

.logo-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 28px;
}

.card {
    border-radius: 16px !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10) !important;
    background: var(--surface);
}

.ip-display-box {
    border-radius: 14px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(37, 150, 190, 0.06) 0%, rgba(255, 255, 255, 1) 55%);
    padding: 1.15rem 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    text-align: center;
}

.ip-label {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.current-ip {
    font-size: clamp(1.25rem, 2.3vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 0.25rem;
    text-align: center;
}

.manual-ip-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
}

.manual-ip-toggle:hover {
    color: #1f7fa2;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0.7rem 0.9rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 150, 190, 0.15);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 12px;
}

.btn-primary:hover {
    background-color: #1f7fa2;
    border-color: #1f7fa2;
}

.btn-primary:focus,
.btn-primary:active {
    box-shadow: 0 0 0 0.2rem rgba(37, 150, 190, 0.25);
}

.btn-submit {
    box-shadow: 0 12px 26px rgba(37, 150, 190, 0.20);
}

.alert {
    border-radius: 12px;
    border: 1px solid var(--border);
}

@media (max-width: 575.98px) {
    .main-wrapper {
        align-items: flex-start !important;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .current-ip {
        font-size: 1.25rem;
    }

    .card {
        border-radius: 14px !important;
    }
}
