﻿:root {
    --dc-primary: #ff6a2a;
    --dc-primary-hover: #e55820;
    --dc-secondary: #0f4c81;
    --dc-bg: #eef3f8;
    --dc-card: #ffffff;
    --dc-border: #dfe7f2;
    --dc-text: #142033;
    --dc-muted: #607089;
    --dc-input-bg: #f8fbff;
    --dc-input-border: #cfdced;
    --dc-shadow: 0 22px 45px rgba(15, 35, 61, 0.14);
}

.dc-body {
    margin: 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(67, 132, 197, 0.18), transparent 38%),
        radial-gradient(circle at 92% 92%, rgba(255, 106, 42, 0.12), transparent 36%),
        var(--dc-bg);
    color: var(--dc-text);
    font-family: "Segoe UI", "Inter", "Tahoma", sans-serif;
}

.dc-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--dc-border);
    backdrop-filter: blur(6px);
}

.dc-header-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.dc-logo {
    height: 44px;
    width: auto;
    display: block;
}

.dc-main {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 28px 16px;
}

.dc-footer {
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid var(--dc-border);
}

.dc-footer-inner {
    width: 100%;
    max-width: none;
    padding: 16px 24px;
    color: var(--dc-muted);
    font-size: 0.86rem;
    text-align: center;
}

.dc-auth-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.dc-card {
    width: 100%;
    max-width: 470px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--dc-border);
    border-radius: 18px;
    box-shadow: var(--dc-shadow);
    padding: 24px;
    box-sizing: border-box;
}

.dc-card-head {
    margin-bottom: 18px;
}

.dc-card-badge {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid #c7d9ec;
    background: #edf4fc;
    color: #2a597f;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
}

.dc-title {
    margin: 0;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dc-secondary);
}

.dc-subtitle {
    margin: 7px 0 0;
    color: var(--dc-muted);
    font-size: 0.9rem;
}

.dc-form {
    margin-top: 10px;
}

.dc-form-group {
    margin-bottom: 13px;
}

.dc-label {
    display: block;
    font-weight: 700;
    margin-bottom: 7px;
    color: #32445f;
    font-size: 0.84rem;
}

.dc-input {
    width: 100%;
    height: 46px;
    padding: 0 0.88rem;
    background: var(--dc-input-bg);
    border: 1px solid var(--dc-input-border);
    border-radius: 11px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.2s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
    font-size: 0.92rem;
}

.dc-input:focus {
    border-color: #7ca4cf;
    box-shadow: 0 0 0 3px rgba(64, 128, 190, 0.15);
    background: #ffffff;
}

input::-ms-reveal,
input::-ms-clear {
    display: none;
}

input[type=password]::-ms-reveal {
    display: none;
}

input::-webkit-contacts-auto-fill-button,
input::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    display: none;
}

.dc-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 8px 0 16px;
    color: #3e4f66;
    user-select: none;
    cursor: pointer;
    font-size: 0.87rem;
}

.dc-checkbox {
    width: 1.05rem;
    height: 1.05rem;
}

.dc-btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    padding: 0.82rem 1rem;
    border-radius: 11px;
    font-weight: 700;
    font-size: 0.95rem;
}

.dc-btn-primary {
    background: linear-gradient(135deg, var(--dc-primary) 0%, #ff8249 100%);
    color: #fff;
    width: 100%;
    box-shadow: 0 12px 20px rgba(255, 106, 42, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dc-btn-primary:hover {
    background: linear-gradient(135deg, var(--dc-primary-hover) 0%, #f17644 100%);
    transform: translateY(-1px);
    box-shadow: 0 16px 24px rgba(229, 88, 32, 0.28);
}

.dc-val-summary {
    margin-bottom: 12px;
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid #fecaca;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.dc-val-field {
    color: #b91c1c;
    font-size: 0.82rem;
}

@media (max-width: 640px) {
    .dc-header-inner {
        padding: 12px 14px;
    }

    .dc-logo {
        height: 38px;
    }

    .dc-card {
        max-width: 100%;
        padding: 18px;
        border-radius: 14px;
    }

    .dc-title {
        font-size: 1.5rem;
    }

    .dc-subtitle {
        font-size: 0.82rem;
    }
}
