.netcraft-login {
    display: inline-flex;
    flex-direction: column;
    gap: 1rem;
}

.netcraft-login__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #111;
    color: #fff;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
}

.netcraft-login__button:hover,
.netcraft-login__button:focus {
    opacity: 0.9;
}

.netcraft-login-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.netcraft-login-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.netcraft-login__notice {
    background: #f0f4ff;
    color: #1f3c88;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.netcraft-login__remember {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    justify-content: flex-start;
    align-self: flex-start;
    justify-self: start;
    width: auto;
    margin-top: 0.25rem;
}

.netcraft-auth {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.netcraft-auth__notice {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
}

.netcraft-auth__notice--success {
    background: #e6f7f0;
    color: #056f42;
}

.netcraft-auth__notice--error {
    background: #fdecea;
    color: #b42318;
}

.netcraft-auth__panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.netcraft-auth__panel {
    border: 1px solid #dfe3ec;
    border-radius: 1rem;
    padding: 1.5rem;
    background: #f7f9fc;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.netcraft-auth__panel h2 {
    margin-top: 0;
    color: #0d1a2b;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.netcraft-auth__form {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.netcraft-auth__form label span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.netcraft-auth__form input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
}

.netcraft-auth__submit {
    background: #1f3c88;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.9rem;
    cursor: pointer;
    font-weight: 600;
}

.netcraft-auth__signed-in {
    border: 1px solid #eee;
    border-radius: 1rem;
    padding: 1.25rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.netcraft-directory {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.netcraft-directory__filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.netcraft-directory__filter span {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.netcraft-directory__filter select {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    padding: 0.6rem;
}

.netcraft-directory__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.netcraft-card {
    border: 1px solid #e3e8f1;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.netcraft-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.12);
}

.netcraft-card__media {
    position: relative;
    padding-top: 62%;
    overflow: hidden;
}

.netcraft-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.netcraft-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
}

.netcraft-card__badge {
    align-self: flex-start;
    background: #eef2ff;
    color: #312e81;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.netcraft-card__title {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
    color: #0f172a;
}

.netcraft-card__title a {
    text-decoration: none;
    color: #0f172a;
}

.netcraft-card__meta {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

.netcraft-card__summary {
    margin: 0;
    color: #1f2937;
    font-size: 0.95rem;
}

.netcraft-card__stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.netcraft-card__stats li {
    background: #f7f9fc;
    border-radius: 0.75rem;
    padding: 0.6rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.netcraft-card__stats span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #475569;
}

.netcraft-card__stats strong {
    font-size: 0.95rem;
    color: #0f172a;
}

.netcraft-card__details,
.netcraft-card__skills {
    list-style: none;
    padding: 0;
    margin: 0;
}

.netcraft-card__details li {
    display: flex;
    gap: 0.35rem;
    font-size: 0.92rem;
    color: #475569;
}

.netcraft-card__details strong {
    color: #0f172a;
}

.netcraft-card__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.netcraft-card__skills li {
    background: #eef2ff;
    color: #312e81;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.netcraft-card__cta {
    margin-top: auto;
}

.netcraft-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #1f3c88;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.netcraft-card__link svg {
    width: 16px;
    height: 16px;
}

.netcraft-directory__empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
}

.netcraft-detail {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.netcraft-detail__hero {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 2rem;
    align-items: center;
}

.netcraft-detail__summary h1 {
    color: #0f172a;
}

.netcraft-detail__position {
    color: #1f2937;
    font-weight: 500;
}

.netcraft-detail__photo img {
    width: 100%;
    border-radius: 1rem;
}

.netcraft-detail__meta,
.netcraft-detail__contact,
.netcraft-detail__list,
.netcraft-detail__chips {
    list-style: none;
    padding: 0;
    margin: 0;
}

.netcraft-detail__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.netcraft-detail__section--emphasis {
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    border-color: rgba(49, 46, 129, 0.15);
}

.netcraft-detail__stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.netcraft-detail__stats li {
    background: #f7f9fc;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.netcraft-detail__stats span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
}

.netcraft-detail__stats strong {
    font-size: 1.1rem;
    color: #0f172a;
}

.netcraft-detail__section {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #eee;
}

.netcraft-detail__section h2 {
    color: #0f172a;
    margin-top: 0;
}

.netcraft-detail__content,
.netcraft-detail__list li {
    color: #1f2937;
}

.netcraft-detail__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.netcraft-detail__chips li {
    background: #f4f6fb;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    color: #0f172a;
}

.netcraft-detail__links a {
    color: #1f3c88;
}

.netcraft-detail__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.netcraft-detail__links a {
    text-decoration: none;
    font-weight: 600;
}

.netcraft-detail__footer {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: #1f2937;
}

@media (max-width: 768px) {
    .netcraft-detail__hero {
        grid-template-columns: 1fr;
    }

    .netcraft-card__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
