/* DataNet Frontend Polish Add-on. No Vite. */

.dn-profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: stretch;
    margin-bottom: 22px;
}

.dn-profile-main {
    border-radius: 32px;
    border: 1px solid #dbeafe;
    background:
        radial-gradient(circle at 90% 0%, rgba(56, 189, 248, .22), transparent 18rem),
        linear-gradient(135deg, #ffffff, #f0f9ff);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    padding: 32px;
}

.dn-profile-main h1 {
    margin: 10px 0 10px;
    font-size: clamp(2.1rem, 4vw, 3.8rem);
    line-height: .98;
    letter-spacing: -.065em;
}

.dn-profile-photo-card {
    border-radius: 32px;
    border: 1px solid #dbeafe;
    background: white;
    box-shadow: 0 14px 38px rgba(14, 165, 233, .10);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dn-profile-photo-card img {
    width: 100%;
    max-height: 330px;
    object-fit: cover;
    border-radius: 24px;
    background: #e0f2fe;
}

.dn-profile-initial {
    width: 100%;
    height: 300px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #075985;
    font-size: 5rem;
    font-weight: 950;
}

.dn-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.dn-info-tile {
    border: 1px solid #dbeafe;
    border-radius: 20px;
    background: #ffffff;
    padding: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.dn-info-tile span {
    display: block;
    color: #0284c7;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 950;
    margin-bottom: 7px;
}

.dn-info-tile strong {
    color: #0f172a;
    line-height: 1.35;
}

.dn-content-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}

.dn-content-panel {
    border: 1px solid #dbeafe;
    background: white;
    border-radius: 28px;
    box-shadow: 0 14px 38px rgba(14, 165, 233, .09);
    overflow: hidden;
}

.dn-panel-head {
    padding: 20px 22px;
    border-bottom: 1px solid #dbeafe;
    background:
        radial-gradient(circle at 95% 10%, rgba(56, 189, 248, .16), transparent 13rem),
        linear-gradient(135deg, #ffffff, #f0f9ff);
}

.dn-panel-head p {
    margin: 0 0 6px;
    color: #0284c7;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dn-panel-head h2,
.dn-panel-head h3 {
    margin: 0;
    letter-spacing: -.04em;
}

.dn-panel-body {
    padding: 22px;
}

.dn-sidebar-stack {
    display: grid;
    gap: 16px;
}

.dn-mini-list {
    display: grid;
    gap: 10px;
}

.dn-mini-row {
    border: 1px solid #e0f2fe;
    background: #f8fcff;
    border-radius: 18px;
    padding: 13px;
}

.dn-mini-row span {
    display: block;
    color: #64748b;
    font-size: .78rem;
    font-weight: 850;
    margin-bottom: 4px;
}

.dn-mini-row strong,
.dn-mini-row a {
    color: #0f172a;
    word-break: break-word;
}

.dn-document-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dn-document-card {
    border: 1px solid #dbeafe;
    background: white;
    border-radius: 24px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.dn-document-preview {
    min-height: 150px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 80% 15%, rgba(56, 189, 248, .16), transparent 14rem),
        linear-gradient(135deg, #f8fafc, #e0f2fe);
    border-bottom: 1px solid #dbeafe;
}

.dn-document-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: white;
    color: #075985;
    font-size: 2rem;
    box-shadow: 0 14px 34px rgba(14, 165, 233, .16);
}

.dn-document-body {
    padding: 18px;
}

.dn-document-body h3 {
    margin: 0 0 8px;
    letter-spacing: -.03em;
}

.dn-static-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.dn-contact-card {
    border-radius: 28px;
    border: 1px solid #dbeafe;
    background: white;
    box-shadow: 0 14px 38px rgba(14, 165, 233, .09);
    padding: 24px;
}

.dn-contact-card h2 {
    margin-top: 0;
    letter-spacing: -.045em;
}

@media (max-width: 980px) {
    .dn-profile-hero,
    .dn-content-split,
    .dn-static-grid {
        grid-template-columns: 1fr;
    }

    .dn-info-grid,
    .dn-document-grid {
        grid-template-columns: 1fr;
    }
}
