.profile-cover {
    height:220px;
    background:linear-gradient(120deg,#dcefff,#d8f4e9);
    border-radius:18px 18px 0 0;
    overflow:hidden;
    position:relative
}

.profile-cover img {
    width:100%;
    height:100%
}

.profile-main {
    background:#fff;
    border:1px solid var(--line);
    border-top:0;
    border-radius:0 0 18px 18px;
    padding:0 32px 28px;
    margin-bottom:25px;
    position:relative
}

.profile-top {
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:end;
    padding-top:15px
}

.profile-photo {
    width:110px;
    height:110px;
    border:6px solid #fff;
    border-radius:23px;
    background:#fff;
    margin-top:-68px;
    position:relative
}

.profile-name {
    display:flex;
    gap:9px;
    align-items:center;
    margin:12px 0 6px;
    font-size:29px
}

.profile-main .actions {
    display:flex;
    gap:10px;
    flex-wrap:wrap
}

.profile-details {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-top:25px;
    padding-top:20px;
    border-top:1px solid var(--line)
}

.profile-tabs {
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:20px
}

.profile-tabs a {
    padding:8px 13px;
    border-radius:8px;
    border:1px solid var(--line);
    background:#fff;
    font-size:12px
}

.profile-tabs .active {
    background:#edf3ff;
    color:var(--blue)
}

.cert-card {
    aspect-ratio:1.586;
    border-radius:20px;
    padding:28px;
    max-width:600px;
    background:linear-gradient(120deg,#f8e9aa,#d4a64b 53%,#fbeebc);
    box-shadow:0 18px 30px #74531e26;
    color:#614b20;
    position:relative;
    overflow:hidden
}

.cert-card:after {
    content:"";
    width:350px;
    height:350px;
    border:55px solid #ffffff30;
    position:absolute;
    border-radius:50%;
    left:40%;
    top:-90px;
    pointer-events:none
}

.cert-card.silver {
    background:linear-gradient(120deg,#f3f6fb,#a4b0c0 53%,#eef3fa);
    color:#3b526e
}

.cert-card .cert-brand {
    display:flex;
    gap:10px;
    align-items:center;
    font-size:18px;
    font-weight:700
}

.cert-card .cert-brand img {
    width:28px;
    height:32px
}

.cert-card h2 {
    font-size:16px;
    margin:20px 0 8px;
    max-width:320px;
    line-height:1.5
}

.cert-card h3 {
    font-size:21px;
    margin:7px 0
}

.cert-bottom {
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:12px;
    position:relative;
    z-index:2;
    margin-top:18px
}

.cert-qr svg {
    width:92px;
    height:92px;
    background:#fff;
    padding:4px;
    border-radius:7px
}

.cert-card small {
    font-size:9px;
    display:block
}

/* GDV identity, accessible tabs and the bank-style certificate. */
.gdv-profile-page {
    padding-top: 30px;
}

.gdv-identity-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: white;
    overflow: hidden;
    margin-bottom: 28px;
}

.enterprise-cover {
    height: 260px;
    position: relative;
    background: var(--navy);
}

.enterprise-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-label {
    position: absolute;
    left: 28px;
    top: 24px;
    background: #102c4ecf;
    border: 1px solid #ffffff22;
    color: #e8edf4;
    padding: 8px 13px;
    border-radius: 20px;
    font-size: 9px;
    letter-spacing: 1px;
}

.identity-content {
    padding: 0 32px 26px;
}

.identity-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.identity-person {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: -48px;
    position: relative;
}

.identity-avatar {
    width: 132px;
    height: 132px;
    border: 6px solid white;
    border-radius: 50%;
    box-shadow: 0 8px 24px #102c4e18;
    object-fit: cover;
    background: white;
}

.identity-person>div {
    padding-top: 53px;
}

.identity-person h1 {
    font-size: 30px;
    margin: 3px 0 9px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -.8px;
}

.identity-top>.badge {
    margin-top: 23px;
}

.identity-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--muted);
}

.identity-meta .fa-star {
    color: #ba903f;
}

.identity-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.identity-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    gap: 20px;
    margin-top: 28px;
    padding-top: 23px;
}

.identity-stats span {
    display: block;
    font-size: 11px;
    color: var(--muted);
}

.identity-stats strong {
    display: block;
    font-size: 17px;
    margin-top: 7px;
}

.gdv-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 25px;
}

.profile-tab-list {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding: 8px;
    margin-bottom: 16px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 13px;
    scrollbar-width: thin;
}

.profile-tab-list button {
    border: 0;
    background: transparent;
    padding: 12px 15px;
    border-radius: 9px;
    font-size: 12px;
    color: #6a7e93;
    white-space: nowrap;
    flex: 1;
}

.profile-tab-list button[aria-selected=true] {
    background: #102c4e;
    color: white;
}

.profile-tab-list span {
    font-size: 10px;
    opacity: .8;
    margin-left: 3px;
}

.profile-panel {
    scroll-margin-top: 105px;
    min-height: 240px;
}

.profile-information {
    margin-top: 25px;
}

.profile-information>div {
    display: grid;
    grid-template-columns: 170px 1fr;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    gap: 15px;
}

.profile-information dt {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

.profile-information dd {
    font-size: 13px;
    margin: 0;
    overflow-wrap: anywhere;
}

.profile-aside .qr-box {
    background: linear-gradient(140deg, white, #f3f6fb);
}

.qr-box [data-qr] svg {
    max-width: 175px;
    width: 100%;
    height: auto;
    background: white;
    border-radius: 10px;
}

.qr-box p {
    font-size: 10px;
    word-break: break-all;
    margin: 15px 0;
}

.bank-account-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border: 1px solid #dce6f1;
    border-radius: 13px;
    background: #f7fafd;
    margin-bottom: 14px;
}

.bank-symbol {
    width: 42px;
    height: 42px;
    background: #e8eff7;
    color: #496d96;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 19px;
    flex-shrink: 0;
}

.bank-account-card>div:nth-child(2) {
    flex: 1;
    min-width: 0;
}

.bank-name {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.bank-number {
    display: block;
    font-size: 19px;
    margin: 4px 0;
    letter-spacing: .4px;
    overflow-wrap: anywhere;
}

.bank-account-card p {
    margin: 0 0 8px;
    font-size: 12px;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-bottom: 25px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.rating-summary strong {
    font-size: 44px;
    color: var(--navy);
    font-weight: 750;
}

.rating-summary p {
    color: var(--muted);
    max-width: 280px;
    font-size: 12px;
    margin: 0;
}

.review-heading {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.review-stars {
    color: #bd9444;
    font-size: 11px;
    white-space: nowrap;
}

.review-form {
    padding-top: 25px;
    margin-top: 24px;
    border-top: 1px solid var(--line);
}

.rating-choice {
    display: flex;
    gap: 5px;
    align-items: center;
    border: 1px solid #dae3ed;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f8fafc;
}

.rating-choice .fa-star {
    color: #ba903f;
}

.mini-certificate {
    display: block;
    padding: 17px;
    margin: 17px 0;
    border-radius: 13px;
    background: linear-gradient(120deg, #f9edc5, #e4c371, #f9efc8);
    color: #6f5524;
    box-shadow: 0 9px 22px #96731e1a;
    transform: perspective(800px) rotateY(-3deg);
}

.mini-certificate.silver {
    background: linear-gradient(120deg, #f3f6fa, #b9c6d5, #e9eff6);
    color: #3a526a;
}

.mini-certificate .fa-microchip {
    display: block;
    font-size: 19px;
    margin-bottom: 12px;
    opacity: .6;
}

.mini-certificate strong {
    display: block;
    font-size: 12px;
    margin-bottom: 10px;
}

.mini-certificate span {
    display: block;
    font-size: 8px;
    line-height: 1.6;
}

.mini-certificate b {
    display: block;
    font-size: 12px;
    margin: 6px 0 15px;
}

.mini-certificate small {
    font-size: 7px;
    letter-spacing: .3px;
}

.cert-card {
    max-width: 780px;
    width: 100%;
    aspect-ratio: 1.586;
    padding: 34px;
    border-radius: 24px;
    border: 1px solid #d3b569;
    background: linear-gradient(120deg, #fbefc3, #dec077 60%, #faf0cb);
    box-shadow: 0 28px 48px #614b201b;
    transform-style: preserve-3d;
    transition: transform .16s ease;
}

.cert-card.silver {
    border-color: #b4c1cf;
    background: linear-gradient(120deg, #f6f8fb, #b7c5d4, #eef3f8);
}

.cert-brand {
    font-size: 23px;
}

.cert-card h2 {
    font-size: 19px;
    margin-top: 28px;
    max-width: 470px;
}

.cert-card h3 {
    font-size: 26px;
    margin-top: 8px;
}

.cert-card>p {
    font-size: 16px;
}

.cert-bottom {
    margin-top: 30px;
}

.cert-card small {
    font-size: 10px;
    line-height: 1.8;
}

.cert-qr svg {
    width: 105px;
    height: 105px;
    border-radius: 8px;
}

