* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
    min-height: 100vh;
    background: #ffe4e4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
}

.wrapper {
    width: 100%;
    max-width: 440px;
}

.logo-area {
    text-align: center;
    margin-bottom: 22px;
}
.logo-area img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    background: #fff;
}
.logo-area h1 {
    color: #222;
    font-size: 20px;
    font-weight: 700;
    margin-top: 12px;
    letter-spacing: 0.3px;
}
.logo-area p {
    color: #777;
    font-size: 13px;
    margin-top: 4px;
    font-weight: 400;
}

.box {
    background: #fff;
    border-radius: 18px;
    padding: 26px 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #f4f4f4;
}

.search-label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin-bottom: 10px;
}

form {
    display: flex;
    gap: 10px;
}
input[type="text"] {
    flex: 1;
    padding: 13px 16px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
input[type="text"]:focus {
    border-color: var(--brand);
}

button {
    padding: 13px 22px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition:
        transform 0.15s,
        box-shadow 0.15s;
}
button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(var(--brand-rgb), 0.35);
}
button:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    form {
        flex-direction: column;
    }
    form input[type="text"],
    form button {
        width: 100%;
    }
}

.id-card {
    margin-top: 24px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f1e5e5;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.id-card-header {
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    padding: 22px 20px 44px;
    text-align: center;
}
.id-card-header .verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

.id-card-photo {
    margin: -40px auto 0;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background: #fff;
}
.id-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.id-card-body {
    padding: 18px 22px 24px;
    text-align: center;
}
.id-card-body h2 {
    font-size: 19px;
    font-weight: 700;
    color: #222;
    margin-top: 4px;
}
.id-card-body .role-badge {
    display: inline-block;
    margin-top: 6px;
    background: #e3f7e9;
    color: #1c9c4a;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.detail-list {
    margin-top: 18px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}
.detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.detail-label {
    font-size: 12.5px;
    color: #888;
    font-weight: 500;
}
.detail-value {
    font-size: 13.5px;
    color: #222;
    font-weight: 600;
    text-align: right;
}

.status-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
}
.status-active {
    background: #e3f7e9;
    color: #1c9c4a;
}
.status-inactive {
    background: #fdeaea;
    color: #d32f2f;
}

.not-found {
    margin-top: 22px;
    text-align: center;
    background: #fff5f5;
    border: 1px solid #ffd6d6;
    border-radius: 14px;
    padding: 28px 20px;
}
.not-found .icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #ffe1e1;
    color: var(--brand);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.not-found h3 {
    color: #d32f2f;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}
.not-found p {
    color: #888;
    font-size: 13px;
}

.footer-note {
    text-align: center;
    margin-top: 20px;
    color: #999;
    font-size: 11.5px;
}
