.lic-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 8%, rgba(0, 132, 61, .10), transparent 24%),
        radial-gradient(circle at 90% 12%, rgba(252, 209, 22, .12), transparent 22%),
        linear-gradient(180deg, #f8fafc 0%, #eef4f8 100%);
    padding: 22px 16px 40px;
}

.lic-shell {
    width: min(1040px, 100%);
    margin: 0 auto;
}

.lic-panel {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
    padding: 26px;
    overflow: hidden;
}

.lic-head {
    max-width: 680px;
}

.lic-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eefdf4;
    color: #078443;
    border: 1px solid #bbf7d0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.lic-head h1 {
    margin: 14px 0 6px;
    color: #052649;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
    font-weight: 700;
}

.lic-head p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.lic-search-box {
    margin-top: 22px;
    display: flex;
    gap: 10px;
    padding: 8px;
    background: #fff;
    border: 1px solid #dce7ef;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.lic-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.lic-input-wrap i {
    color: #078443;
    font-size: 14px;
}

.lic-input-wrap input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 14px 0;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.lic-input-wrap input::placeholder {
    color: #94a3b8;
    font-weight: 500;
    text-transform: none;
}

.lic-search-box button {
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #00843d, #0ca65a);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 0 20px;
    min-height: 46px;
    box-shadow: 0 12px 24px rgba(0, 132, 61, .20);
    cursor: pointer;
}

.lic-result {
    margin-top: 18px;
}

.lic-empty {
    min-height: 90px;
    border: 1px dashed #cbd5e1;
    background: #fff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #64748b;
    font-size: 14px;
    text-align: center;
}

.lic-empty i {
    color: #078443;
}

.lic-card {
    display: grid;
    grid-template-columns: 170px 1fr 138px;
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.lic-photo,
.lic-qr {
    background: #f1f5f9;
    border: 1px solid #e7eef5;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lic-photo {
    min-height: 180px;
}

.lic-qr {
    min-height: 138px;
    align-self: start;
}

.lic-photo img,
.lic-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lic-qr img {
    object-fit: contain;
    padding: 14px;
}

.lic-qr i {
    color: #94a3b8;
    font-size: 52px;
}

.lic-initial {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: #eafaf1;
    color: #078443;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 700;
}

.lic-info h2 {
    margin: 0 0 8px;
    color: #052649;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 700;
}

.lic-matricule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff8dc;
    color: #8a5b00;
    border: 1px solid #fde68a;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 700;
}

.lic-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.lic-field {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 13px;
    padding: 10px 11px;
}

.lic-field span {
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.lic-field strong {
    display: block;
    margin-top: 3px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
}

.lic-public-link {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: #052649;
    color: #fff;
    border-radius: 13px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 700;
}

.lic-public-link:hover {
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .lic-card {
        grid-template-columns: 1fr;
    }

    .lic-photo,
    .lic-qr {
        min-height: 180px;
    }
}

@media (max-width: 640px) {
    .lic-page {
        padding: 14px 10px 28px;
    }

    .lic-panel {
        padding: 18px;
        border-radius: 20px;
    }

    .lic-search-box {
        flex-direction: column;
    }

    .lic-search-box button {
        width: 100%;
        padding: 13px;
    }

    .lic-grid {
        grid-template-columns: 1fr;
    }
}

.lic-field {
    display: flex;
    align-items: center;
    gap: 11px;
}

.lic-field > i {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 12px;
    background: #eafaf1;
    color: #078443;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.lic-field > div {
    min-width: 0;
}