/**
 * Personio Module - Base Stylesheet
 * Responsive, accessible, and themeable via CSS variables.
 */

:root {
    --gd-primary: #002046;
    --gd-primary-hover: #0f3b73;
    --gd-primary-text: #ffffff;
    --gd-accent: #0066cc;
    --gd-bg-card: #ffffff;
    --gd-bg-card-hover: #fcfdfe;
    --gd-bg-expanded: #fafbfd;
    --gd-border-color: #e5e9f0;
    --gd-border-hover: #cbd5e1;
    --gd-border-radius: 12px;
    --gd-border-radius-sm: 8px;
    --gd-border-radius-pill: 9999px;
    --gd-text-main: #1e293b;
    --gd-text-muted: #64748b;
    --gd-text-light: #94a3b8;
    --gd-badge-bg: #f1f5f9;
    --gd-badge-text: #334155;
    --gd-count-bg: #e2e8f0;
    --gd-count-text: #475569;
    --gd-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --gd-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
    --gd-shadow-hover: 0 8px 24px rgba(0, 32, 70, 0.08);
    --gd-font-family: inherit;
    --gd-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.gd-personio-wrapper {
    font-family: var(--gd-font-family);
    color: var(--gd-text-main);
    width: 100%;
    max-width: 100%;
    margin: 0 auto 2.5rem;
    box-sizing: border-box;
}

.gd-personio-wrapper *,
.gd-personio-wrapper *::before,
.gd-personio-wrapper *::after {
    box-sizing: border-box;
}

/* ==========================================================================
   Filter & Search Controls Bar
   ========================================================================== */
.gd-personio-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 2rem;
}

.gd-personio-search-box {
    position: relative;
    width: 260px;
    max-width: 100%;
    display: flex;
    align-items: center;
}

.gd-personio-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gd-text-light);
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
    width: 18px;
    height: 18px;
    line-height: 1;
    transition: color 0.2s ease;
}

.gd-personio-search-icon svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    fill: none !important;
}

.gd-personio-search-box:focus-within .gd-personio-search-icon {
    color: var(--gd-primary);
}

.gd-personio-search-input {
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 8px 32px 8px 36px !important;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--gd-text-main);
    background-color: #ffffff;
    border: 1px solid var(--gd-border-color) !important;
    border-radius: var(--gd-border-radius-sm) !important;
    outline: none !important;
    outline-width: 0 !important;
    transition: var(--gd-transition);
    box-shadow: var(--gd-shadow-sm);
}

.gd-personio-search-input:focus,
.gd-personio-search-input:focus-visible {
    outline: none !important;
    outline-width: 0 !important;
    border-color: var(--gd-primary) !important;
    box-shadow: 0 0 0 3px rgba(40, 179, 158, 0.18) !important;
}

.gd-personio-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: none;
    border: none;
    color: var(--gd-text-light);
    font-size: 1.15rem;
    cursor: pointer;
    line-height: 1;
    padding: 2px;
    border-radius: 50%;
}

.gd-personio-search-clear:hover {
    color: var(--gd-text-main);
}

.gd-personio-filter-box {
    position: relative;
    width: 220px;
    max-width: 100%;
}

.gd-personio-dropdown-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px 8px 34px !important;
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 500;
    color: var(--gd-text-main);
    background-color: #ffffff;
    border: 1px solid var(--gd-border-color) !important;
    border-radius: var(--gd-border-radius-sm) !important;
    outline: none !important;
    outline-width: 0 !important;
    cursor: pointer;
    transition: var(--gd-transition);
    box-shadow: var(--gd-shadow-sm);
    text-align: left;
    position: relative;
    user-select: none;
}

.gd-personio-dropdown-btn:hover {
    border-color: var(--gd-border-hover) !important;
    background-color: #fafbfc;
}

.gd-personio-dropdown-btn:focus,
.gd-personio-dropdown-btn:focus-visible,
.gd-personio-filter-box.is-open .gd-personio-dropdown-btn {
    outline: none !important;
    outline-width: 0 !important;
    border-color: var(--gd-primary) !important;
    box-shadow: 0 0 0 3px rgba(40, 179, 158, 0.18) !important;
}

.gd-personio-wrapper *:focus,
.gd-personio-wrapper *:focus-visible {
    outline: none !important;
    outline-width: 0 !important;
}

.gd-personio-filter-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gd-text-light);
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    width: 15px;
    height: 15px;
    line-height: 1;
}

.gd-personio-filter-icon svg {
    display: block !important;
    width: 15px !important;
    height: 15px !important;
    stroke: currentColor !important;
}

.gd-personio-dropdown-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gd-personio-select-arrow {
    color: var(--gd-text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.gd-personio-filter-box.is-open .gd-personio-select-arrow {
    transform: rotate(180deg);
}

/* Custom Dropdown Floating Menu */
.gd-personio-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    min-width: 200px;
    max-height: 280px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid var(--gd-border-color) !important;
    border-radius: var(--gd-border-radius-sm) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
    z-index: 100;
    padding: 6px !important;
    margin: 0 !important;
    list-style: none !important;
    list-style-type: none !important;
    animation: gdDropdownFadeIn 0.15s ease-out;
}

.gd-personio-filter-box.is-open .gd-personio-dropdown-menu {
    display: block !important;
}

@keyframes gdDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gd-personio-dropdown-menu li,
.gd-personio-dropdown-item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 6px !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    list-style: none !important;
    list-style-type: none !important;
    font-size: 0.875rem;
    color: var(--gd-text-main);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.gd-personio-dropdown-menu li::before,
.gd-personio-dropdown-menu li::after,
.gd-personio-dropdown-item::before,
.gd-personio-dropdown-item::after {
    content: none !important;
    display: none !important;
}

.gd-personio-dropdown-item:hover {
    background-color: var(--gd-badge-bg);
    color: var(--gd-primary);
}

.gd-personio-dropdown-item.is-active {
    font-weight: 600;
    color: var(--gd-primary);
    background-color: rgba(0, 32, 70, 0.05);
}

.gd-dropdown-item-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gd-dropdown-check {
    opacity: 0;
    color: var(--gd-primary);
    flex-shrink: 0;
    transition: opacity 0.15s ease;
}

.gd-personio-dropdown-item.is-active .gd-dropdown-check {
    opacity: 1;
}

/* ==========================================================================
   Group & Headings
   ========================================================================== */
.gd-personio-group {
    margin-bottom: 2rem;
}

.gd-personio-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gd-text-main);
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.25rem;
}

.gd-personio-group-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gd-count-text);
    background-color: var(--gd-count-bg);
    border-radius: var(--gd-border-radius-pill);
}

.gd-personio-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   Job Card & Header
   ========================================================================== */
.gd-personio-card {
    background-color: var(--gd-bg-card);
    border: 1px solid var(--gd-border-color);
    border-radius: var(--gd-border-radius);
    box-shadow: var(--gd-shadow-sm);
    transition: var(--gd-transition);
    overflow: hidden;
}

.gd-personio-card:hover {
    border-color: var(--gd-border-hover);
    box-shadow: var(--gd-shadow-hover);
    background-color: var(--gd-bg-card-hover);
}

.gd-personio-card.is-active {
    border-color: var(--gd-primary);
    box-shadow: var(--gd-shadow-md);
}

.gd-personio-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    user-select: none;
    outline: none;
    transition: var(--gd-transition);
}

.gd-personio-card-header:focus-visible {
    outline: 2px solid var(--gd-primary);
    outline-offset: -2px;
}

.gd-personio-header-content {
    flex: 1 1 auto;
    padding-right: 1.25rem;
}

.gd-personio-wrapper h4.gd-personio-title,
.gd-personio-card .gd-personio-title,
.gd-personio-title {
    margin: 0 0 0.5rem 0 !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--gd-text-main);
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.gd-personio-wrapper .gd-personio-card:hover h4.gd-personio-title,
.gd-personio-card:hover .gd-personio-title {
    color: var(--gd-primary);
}

.gd-personio-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: 0.85rem;
    color: var(--gd-text-muted);
}

.gd-personio-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gd-meta-icon {
    color: var(--gd-text-light);
    flex-shrink: 0;
}

.gd-personio-arrow-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.gd-personio-arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gd-badge-bg);
    color: var(--gd-text-muted);
    transition: var(--gd-transition);
}

.gd-arrow-svg {
    transition: transform 0.3s ease;
}

.gd-personio-card:hover .gd-personio-arrow-circle {
    background-color: var(--gd-primary);
    color: var(--gd-primary-text);
}

.gd-personio-card.is-active .gd-arrow-svg {
    transform: rotate(90deg);
}

.gd-personio-card.is-active .gd-personio-arrow-circle {
    background-color: var(--gd-primary);
    color: var(--gd-primary-text);
}

/* ==========================================================================
   Accordion Content Body
   ========================================================================== */
.gd-personio-card-body {
    border-top: none !important;
    background-color: var(--gd-bg-expanded);
}

.gd-personio-body-inner {
    padding: 1.75rem 1.5rem 1.5rem 1.5rem;
}

.gd-personio-sections {
    display: flex;
    flex-direction: column;
    gap: 1.75rem !important;
    margin-bottom: 2rem;
}

.gd-personio-section {
    margin: 0 !important;
    padding: 0 !important;
}

.gd-personio-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gd-text-main);
    margin: 0 0 0.6rem 0 !important;
    padding: 0 !important;
    letter-spacing: -0.01em;
    line-height: 1.35 !important;
}

.gd-personio-section-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
    margin: 0 !important;
    padding: 0 !important;
}

.gd-personio-section-content p {
    margin: 0 0 0.85rem 0 !important;
    padding: 0 !important;
}

.gd-personio-section-content ul,
.gd-personio-section-content ol {
    margin: 0 0 0.85rem 0 !important;
    padding: 0 0 0 1.25rem !important;
}

.gd-personio-section-content ul + p,
.gd-personio-section-content ol + p,
.gd-personio-section-content ul + strong,
.gd-personio-section-content ol + strong {
    margin-top: 0.85rem !important;
    display: block !important;
}

.gd-personio-section-content li {
    margin: 0 0 0.35rem 0 !important;
    padding: 0 !important;
    line-height: 1.6 !important;
}

.gd-personio-section-content h1,
.gd-personio-section-content h2,
.gd-personio-section-content h3,
.gd-personio-section-content h4,
.gd-personio-section-content h5 {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin-top: 1.75rem !important;
    margin-bottom: 0.6rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    color: var(--gd-text-main) !important;
    line-height: 1.35 !important;
}

.gd-personio-section-content h1 *,
.gd-personio-section-content h2 *,
.gd-personio-section-content h3 *,
.gd-personio-section-content h4 *,
.gd-personio-section-content h5 * {
    font-size: inherit !important;
    font-family: inherit !important;
    color: inherit !important;
    font-weight: inherit !important;
}

.gd-personio-section-content > *:first-child,
.gd-personio-section-content > p:first-child,
.gd-personio-section-content > h1:first-child,
.gd-personio-section-content > h2:first-child,
.gd-personio-section-content > h3:first-child,
.gd-personio-section-content > h4:first-child,
.gd-personio-section-content > h5:first-child {
    margin-top: 0 !important;
}

.gd-personio-section-content > *:last-child,
.gd-personio-section-content > p:last-child,
.gd-personio-section-content > ul:last-child,
.gd-personio-section-content > ol:last-child,
.gd-personio-section-content > div:last-child {
    margin-bottom: 0 !important;
}

/* Contact section & Card */
.gd-personio-section.gd-section-contact {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gd-personio-contact-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #ffffff;
    border: 1px solid var(--gd-border-color);
    border-radius: var(--gd-border-radius-sm, 8px);
    padding: 1.25rem 1.5rem !important;
    margin-top: 0.85rem !important;
    margin-bottom: 0.5rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.gd-personio-contact-avatar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gd-personio-section.gd-section-contact img,
.gd-personio-contact-avatar img {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: 50% 20% !important;
    aspect-ratio: 1 / 1 !important;
    display: block !important;
    margin: 0 !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

.gd-personio-contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.gd-personio-contact-info strong,
.gd-personio-contact-info .gd-contact-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gd-text-main);
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.35;
}

.gd-personio-contact-info span,
.gd-personio-contact-info .gd-contact-role {
    color: var(--gd-text-muted);
    font-size: 0.9rem;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4;
}

/* Fallback for unformatted contact elements */
.gd-personio-section.gd-section-contact img + br,
.gd-personio-section.gd-section-contact img + br + br {
    display: none !important;
}

/* ==========================================================================
   Apply CTA Button
   ========================================================================== */
.gd-personio-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0 !important;
    border-top: none !important;
    margin-top: 1.75rem !important;
}

.gd-personio-actions-top {
    margin-top: 0 !important;
    margin-bottom: 1.75rem !important;
}

.gd-personio-btn-top {
    padding: 0.55rem 1.15rem !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
    font-weight: 600;
}

.gd-personio-btn-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gd-primary-text) !important;
    background-color: var(--gd-primary);
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: var(--gd-transition);
    box-shadow: 0 2px 8px rgba(0, 32, 70, 0.18);
}

.gd-personio-btn-apply:hover {
    background-color: var(--gd-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 32, 70, 0.25);
    color: var(--gd-primary-text) !important;
}

/* ==========================================================================
   Empty & Error States
   ========================================================================== */
.gd-personio-no-jobs,
.gd-personio-no-results {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background-color: var(--gd-bg-card);
    border: 1px dashed var(--gd-border-color);
    border-radius: var(--gd-border-radius);
    color: var(--gd-text-muted);
}

.gd-personio-empty-icon {
    margin-bottom: 1rem;
    color: var(--gd-text-light);
}

.gd-personio-no-jobs-text,
.gd-personio-no-results-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gd-text-main);
    margin: 0 0 0.5rem 0;
}

.gd-personio-no-jobs-sub {
    font-size: 0.9rem;
    margin: 0;
}

.gd-personio-error {
    padding: 1rem 1.25rem;
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Built-in Company Themes
   ========================================================================== */

/* Theme: Digitalentwicklung & ZDE */
.gd-personio-wrapper.gd-personio-theme-digitalentwicklung,
.gd-personio-wrapper.gd-personio-theme-zde {
    --gd-primary: #f29d00;
    --gd-primary-hover: #d98a00;
    --gd-primary-text: #1a1a1a;
    --gd-accent: #f5a623;
    --gd-bg-card-hover: #fffdf9;
    --gd-border-hover: #f29d00;
    --gd-border-radius: 14px;
    --gd-badge-bg: #fef7ea;
    --gd-badge-text: #8c5b00;
    --gd-count-bg: #f3f4f6;
    --gd-count-text: #374151;
    --gd-shadow-hover: 0 8px 24px rgba(242, 157, 0, 0.15);
}

.gd-personio-theme-digitalentwicklung .gd-personio-btn-apply,
.gd-personio-theme-zde .gd-personio-btn-apply {
    background-color: #f29d00 !important;
    color: #1a1a1a !important;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(242, 157, 0, 0.35);
}

.gd-personio-theme-digitalentwicklung .gd-personio-btn-apply:hover,
.gd-personio-theme-zde .gd-personio-btn-apply:hover {
    background-color: #d98a00 !important;
    color: #1a1a1a !important;
    box-shadow: 0 4px 16px rgba(217, 138, 0, 0.45);
    transform: translateY(-2px);
}

.gd-personio-theme-digitalentwicklung .gd-personio-card.is-active .gd-personio-arrow-circle,
.gd-personio-theme-digitalentwicklung .gd-personio-card:hover .gd-personio-arrow-circle,
.gd-personio-theme-zde .gd-personio-card.is-active .gd-personio-arrow-circle,
.gd-personio-theme-zde .gd-personio-card:hover .gd-personio-arrow-circle {
    background-color: #f29d00;
    color: #1a1a1a;
}

/* Theme: Ledermann GmbH */
.gd-personio-wrapper.gd-personio-theme-ledermann {
    --gd-primary: #35679A;
    --gd-primary-hover: #2b547e;
    --gd-primary-text: #ffffff;
    --gd-accent: #4b7ea8;
    --gd-bg-card: #ffffff;
    --gd-bg-card-hover: #fbfdff;
    --gd-bg-expanded: #f8fbfe;
    --gd-border-color: #e2e8f0;
    --gd-border-hover: #35679A;
    --gd-border-radius: 14px;
    --gd-border-radius-sm: 6px;
    --gd-badge-bg: #edf4fa;
    --gd-badge-text: #2b547e;
    --gd-count-bg: #dfeaf4;
    --gd-count-text: #1e3f61;
    --gd-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --gd-shadow-hover: 0 6px 20px rgba(53, 103, 154, 0.14);
}

.gd-personio-theme-ledermann .gd-personio-btn-apply {
    background-color: #35679A !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(53, 103, 154, 0.25);
}

.gd-personio-theme-ledermann .gd-personio-btn-apply:hover {
    background-color: #2b547e !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(53, 103, 154, 0.35);
    transform: translateY(-1px);
}

.gd-personio-theme-ledermann .gd-personio-card.is-active .gd-personio-arrow-circle,
.gd-personio-theme-ledermann .gd-personio-card:hover .gd-personio-arrow-circle {
    background-color: #35679A;
    color: #ffffff;
}

.gd-personio-theme-ledermann .gd-personio-dropdown-item.is-active {
    background-color: #edf4fa;
    color: #2b547e;
}

/* Theme: GEO DATA GmbH */
.gd-personio-wrapper.gd-personio-theme-geodata {
    --gd-primary: #28B39E;
    --gd-primary-hover: #209a87;
    --gd-primary-text: #ffffff;
    --gd-accent: #28B39E;
    --gd-bg-card: #ffffff;
    --gd-bg-card-hover: #fcfdfe;
    --gd-bg-expanded: #fafcfb;
    --gd-border-color: #e5e9f0;
    --gd-border-hover: #28B39E;
    --gd-border-radius: 14px;
    --gd-border-radius-sm: 6px;
    --gd-badge-bg: #eaf7f5;
    --gd-badge-text: #1b7a6c;
    --gd-count-bg: #f1f5f9;
    --gd-count-text: #334155;
    --gd-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --gd-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.gd-personio-theme-geodata .gd-personio-btn-apply {
    background-color: #28B39E !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 6px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.gd-personio-theme-geodata .gd-personio-btn-apply:hover {
    background-color: #209a87 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.gd-personio-theme-geodata .gd-personio-card.is-active .gd-personio-arrow-circle,
.gd-personio-theme-geodata .gd-personio-card:hover .gd-personio-arrow-circle {
    background-color: #28B39E;
    color: #ffffff;
}

/* Theme: Network 41 Deutschland GmbH */
.gd-personio-wrapper.gd-personio-theme-network41,
.gd-personio-wrapper.gd-personio-theme-network-41 {
    --gd-primary: #65849c;
    --gd-primary-hover: #4e6f88;
    --gd-primary-text: #ffffff;
    --gd-accent: #82c0c7;
    --gd-bg-card: #ffffff;
    --gd-bg-card-hover: #fcfdfe;
    --gd-bg-expanded: #f8fafc;
    --gd-border-color: #e2e8f0;
    --gd-border-hover: #65849c;
    --gd-border-radius: 14px;
    --gd-border-radius-sm: 6px;
    --gd-badge-bg: #edf4f7;
    --gd-badge-text: #3d5a71;
    --gd-count-bg: #e2edf2;
    --gd-count-text: #2c4659;
    --gd-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --gd-shadow-hover: 0 6px 18px rgba(101, 132, 156, 0.14);
}

.gd-personio-theme-network41 .gd-personio-btn-apply,
.gd-personio-theme-network-41 .gd-personio-btn-apply {
    background-color: #65849c !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(101, 132, 156, 0.25);
}

.gd-personio-theme-network41 .gd-personio-btn-apply:hover,
.gd-personio-theme-network-41 .gd-personio-btn-apply:hover {
    background-color: #4e6f88 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(101, 132, 156, 0.35);
    transform: translateY(-1px);
}

.gd-personio-theme-network41 .gd-personio-card.is-active .gd-personio-arrow-circle,
.gd-personio-theme-network41 .gd-personio-card:hover .gd-personio-arrow-circle,
.gd-personio-theme-network-41 .gd-personio-card.is-active .gd-personio-arrow-circle,
.gd-personio-theme-network-41 .gd-personio-card:hover .gd-personio-arrow-circle {
    background-color: #65849c;
    color: #ffffff;
}

/* Theme: KI-P GmbH (Dark Mode / Glassmorphism) */
.gd-personio-wrapper.gd-personio-theme-kip,
.gd-personio-wrapper.gd-personio-theme-kip-dark {
    --gd-primary: #00adff;
    --gd-primary-hover: #0092d6;
    --gd-primary-text: #000522;
    --gd-accent: #00adff;
    --gd-bg-card: rgba(255, 255, 255, 0.04);
    --gd-bg-card-hover: rgba(255, 255, 255, 0.07);
    --gd-bg-expanded: rgba(0, 5, 34, 0.65);
    --gd-border-color: rgba(255, 255, 255, 0.12);
    --gd-border-hover: #00adff;
    --gd-border-radius: 14px;
    --gd-border-radius-sm: 6px;
    --gd-text-main: #ffffff;
    --gd-text-muted: #cbd5e1;
    --gd-text-light: #94a3b8;
    --gd-badge-bg: rgba(0, 173, 255, 0.12);
    --gd-badge-text: #38bdf8;
    --gd-count-bg: rgba(0, 173, 255, 0.18);
    --gd-count-text: #00adff;
    --gd-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --gd-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 16px rgba(0, 173, 255, 0.2);
}

.gd-personio-theme-kip .gd-personio-card,
.gd-personio-theme-kip-dark .gd-personio-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.gd-personio-theme-kip .gd-personio-card:hover,
.gd-personio-theme-kip-dark .gd-personio-card:hover {
    border-color: #00adff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 16px rgba(0, 173, 255, 0.2);
}

.gd-personio-theme-kip .gd-personio-card.is-active,
.gd-personio-theme-kip-dark .gd-personio-card.is-active {
    border-color: #00adff;
    background-color: rgba(0, 15, 50, 0.7);
}

.gd-personio-theme-kip .gd-personio-group-title,
.gd-personio-theme-kip-dark .gd-personio-group-title,
.gd-personio-theme-kip .gd-personio-title,
.gd-personio-theme-kip-dark .gd-personio-title,
.gd-personio-theme-kip .gd-personio-section-title,
.gd-personio-theme-kip-dark .gd-personio-section-title {
    color: #ffffff;
}

.gd-personio-theme-kip .gd-personio-card:hover .gd-personio-title,
.gd-personio-theme-kip-dark .gd-personio-card:hover .gd-personio-title {
    color: #00adff;
}

.gd-personio-theme-kip .gd-personio-group-count,
.gd-personio-theme-kip-dark .gd-personio-group-count {
    background-color: rgba(0, 173, 255, 0.15);
    color: #00adff;
    border: 1px solid rgba(0, 173, 255, 0.3);
}

/* Search Icon (White on KI-P) */
.gd-personio-theme-kip .gd-personio-search-box {
    position: relative;
}

.gd-personio-theme-kip .gd-personio-search-icon,
.gd-personio-theme-kip-dark .gd-personio-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    width: 18px;
    height: 18px;
}

.gd-personio-theme-kip .gd-personio-search-icon svg,
.gd-personio-theme-kip-dark .gd-personio-search-icon svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    stroke: #ffffff !important;
    fill: none !important;
}

.gd-personio-theme-kip .gd-personio-search-input,
.gd-personio-theme-kip-dark .gd-personio-search-input,
.gd-personio-theme-kip .gd-personio-dropdown-btn,
.gd-personio-theme-kip-dark .gd-personio-dropdown-btn {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    backdrop-filter: blur(8px);
}

.gd-personio-theme-kip input.gd-personio-search-input,
.gd-personio-theme-kip-dark input.gd-personio-search-input,
.gd-personio-theme-kip input.gd-personio-search-input:focus,
.gd-personio-theme-kip-dark input.gd-personio-search-input:focus {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.gd-personio-theme-kip .gd-personio-dropdown-label,
.gd-personio-theme-kip-dark .gd-personio-dropdown-label {
    color: #ffffff !important;
}

.gd-personio-theme-kip .gd-personio-search-clear,
.gd-personio-theme-kip-dark .gd-personio-search-clear {
    color: #cbd5e1 !important;
}

.gd-personio-theme-kip .gd-personio-search-clear:hover,
.gd-personio-theme-kip-dark .gd-personio-search-clear:hover {
    color: #ffffff !important;
}

.gd-personio-theme-kip .gd-personio-search-input::placeholder,
.gd-personio-theme-kip-dark .gd-personio-search-input::placeholder {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}

.gd-personio-theme-kip .gd-personio-search-input:focus,
.gd-personio-theme-kip-dark .gd-personio-search-input:focus,
.gd-personio-theme-kip .gd-personio-dropdown-btn:focus,
.gd-personio-theme-kip-dark .gd-personio-dropdown-btn:focus {
    border-color: #00adff !important;
    box-shadow: 0 0 0 3px rgba(0, 173, 255, 0.25);
}

.gd-personio-theme-kip .gd-personio-dropdown-menu,
.gd-personio-theme-kip-dark .gd-personio-dropdown-menu {
    background-color: #060d24;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
}

.gd-personio-theme-kip .gd-personio-dropdown-item,
.gd-personio-theme-kip-dark .gd-personio-dropdown-item {
    color: #e2e8f0;
}

.gd-personio-theme-kip .gd-personio-dropdown-item:hover,
.gd-personio-theme-kip-dark .gd-personio-dropdown-item:hover {
    background-color: rgba(0, 173, 255, 0.15);
    color: #00adff;
}

.gd-personio-theme-kip .gd-personio-dropdown-item.is-active,
.gd-personio-theme-kip-dark .gd-personio-dropdown-item.is-active {
    color: #00adff;
    background-color: rgba(0, 173, 255, 0.2);
}

.gd-personio-theme-kip .gd-personio-arrow-circle,
.gd-personio-theme-kip-dark .gd-personio-arrow-circle {
    background-color: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.gd-personio-theme-kip .gd-personio-card:hover .gd-personio-arrow-circle,
.gd-personio-theme-kip .gd-personio-card.is-active .gd-personio-arrow-circle,
.gd-personio-theme-kip-dark .gd-personio-card:hover .gd-personio-arrow-circle,
.gd-personio-theme-kip-dark .gd-personio-card.is-active .gd-personio-arrow-circle {
    background-color: #00adff;
    color: #000522;
}

.gd-personio-theme-kip .gd-personio-btn-apply,
.gd-personio-theme-kip-dark .gd-personio-btn-apply {
    background-color: #00adff !important;
    color: #000522 !important;
    font-weight: 700;
    border-radius: 6px !important;
    box-shadow: 0 4px 15px rgba(0, 173, 255, 0.35);
}

.gd-personio-theme-kip .gd-personio-btn-apply:hover,
.gd-personio-theme-kip-dark .gd-personio-btn-apply:hover {
    background-color: #0092d6 !important;
    color: #000522 !important;
    box-shadow: 0 6px 20px rgba(0, 173, 255, 0.5);
    transform: translateY(-2px);
}

.gd-personio-theme-kip .gd-personio-card-body,
.gd-personio-theme-kip-dark .gd-personio-card-body {
    border-top: none !important;
    color: #cbd5e1;
}

.gd-personio-theme-kip .gd-personio-section-content,
.gd-personio-theme-kip-dark .gd-personio-section-content {
    color: #cbd5e1;
}

.gd-personio-theme-kip .gd-section-contact,
.gd-personio-theme-kip-dark .gd-section-contact {
    background: transparent !important;
    border: none !important;
}

.gd-personio-theme-kip .gd-personio-contact-card,
.gd-personio-theme-kip-dark .gd-personio-contact-card {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.gd-personio-theme-kip .gd-personio-contact-info strong,
.gd-personio-theme-kip .gd-personio-contact-info .gd-contact-name,
.gd-personio-theme-kip-dark .gd-personio-contact-info strong,
.gd-personio-theme-kip-dark .gd-personio-contact-info .gd-contact-name {
    color: #ffffff !important;
}

.gd-personio-theme-kip .gd-personio-contact-info span,
.gd-personio-theme-kip .gd-personio-contact-info .gd-contact-role,
.gd-personio-theme-kip-dark .gd-personio-contact-info span,
.gd-personio-theme-kip-dark .gd-personio-contact-info .gd-contact-role {
    color: #94a3b8 !important;
}

/* Theme: GEO.DIGITAL (High-End Dark Glassmorphism) */
.gd-personio-wrapper.gd-personio-theme-geo-digital,
.gd-personio-wrapper.gd-personio-theme-geo-digital-dark {
    --gd-primary: #6CD2CD;
    --gd-primary-hover: #5bbcb8;
    --gd-primary-text: #0f1d3d;
    --gd-accent: #6CD2CD;
    --gd-bg-card: rgba(255, 255, 255, 0.04);
    --gd-bg-card-hover: rgba(255, 255, 255, 0.07);
    --gd-bg-expanded: rgba(15, 23, 42, 0.5);
    --gd-border-color: rgba(255, 255, 255, 0.12);
    --gd-border-hover: #6CD2CD;
    --gd-border-radius: 14px;
    --gd-border-radius-sm: 6px;
    --gd-text-main: #ffffff;
    --gd-text-muted: #cbd5e1;
    --gd-text-light: #94a3b8;
    --gd-badge-bg: rgba(108, 210, 205, 0.12);
    --gd-badge-text: #6CD2CD;
    --gd-count-bg: rgba(108, 210, 205, 0.15);
    --gd-count-text: #6CD2CD;
    --gd-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --gd-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(108, 210, 205, 0.2);
}

.gd-personio-theme-geo-digital .gd-personio-card,
.gd-personio-theme-geo-digital-dark .gd-personio-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.gd-personio-theme-geo-digital .gd-personio-card:hover,
.gd-personio-theme-geo-digital-dark .gd-personio-card:hover {
    border-color: #6CD2CD;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(108, 210, 205, 0.25);
}

.gd-personio-theme-geo-digital .gd-personio-card.is-active,
.gd-personio-theme-geo-digital-dark .gd-personio-card.is-active {
    border-color: #6CD2CD;
    background-color: rgba(22, 35, 71, 0.7);
}

.gd-personio-theme-geo-digital .gd-personio-group-title,
.gd-personio-theme-geo-digital-dark .gd-personio-group-title,
.gd-personio-theme-geo-digital .gd-personio-title,
.gd-personio-theme-geo-digital-dark .gd-personio-title,
.gd-personio-theme-geo-digital .gd-personio-section-title,
.gd-personio-theme-geo-digital-dark .gd-personio-section-title {
    color: #ffffff;
}

.gd-personio-theme-geo-digital .gd-personio-card:hover .gd-personio-title,
.gd-personio-theme-geo-digital-dark .gd-personio-card:hover .gd-personio-title {
    color: #6CD2CD;
}

.gd-personio-theme-geo-digital .gd-personio-group-count,
.gd-personio-theme-geo-digital-dark .gd-personio-group-count {
    background-color: rgba(108, 210, 205, 0.15);
    color: #6CD2CD;
    border: 1px solid rgba(108, 210, 205, 0.3);
}

.gd-personio-theme-geo-digital .gd-personio-search-input,
.gd-personio-theme-geo-digital-dark .gd-personio-search-input,
.gd-personio-theme-geo-digital .gd-personio-dropdown-btn,
.gd-personio-theme-geo-digital-dark .gd-personio-dropdown-btn {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.gd-personio-theme-geo-digital .gd-personio-search-input::placeholder,
.gd-personio-theme-geo-digital-dark .gd-personio-search-input::placeholder {
    color: #94a3b8;
}

.gd-personio-theme-geo-digital .gd-personio-search-input:focus,
.gd-personio-theme-geo-digital-dark .gd-personio-search-input:focus,
.gd-personio-theme-geo-digital .gd-personio-dropdown-btn:focus,
.gd-personio-theme-geo-digital-dark .gd-personio-dropdown-btn:focus {
    border-color: #6CD2CD !important;
    box-shadow: 0 0 0 3px rgba(108, 210, 205, 0.25);
}

.gd-personio-theme-geo-digital .gd-personio-dropdown-menu,
.gd-personio-theme-geo-digital-dark .gd-personio-dropdown-menu {
    background-color: #152244;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.gd-personio-theme-geo-digital .gd-personio-dropdown-item,
.gd-personio-theme-geo-digital-dark .gd-personio-dropdown-item {
    color: #e2e8f0;
}

.gd-personio-theme-geo-digital .gd-personio-dropdown-item:hover,
.gd-personio-theme-geo-digital-dark .gd-personio-dropdown-item:hover {
    background-color: rgba(108, 210, 205, 0.15);
    color: #6CD2CD;
}

.gd-personio-theme-geo-digital .gd-personio-dropdown-item.is-active,
.gd-personio-theme-geo-digital-dark .gd-personio-dropdown-item.is-active {
    color: #6CD2CD;
    background-color: rgba(108, 210, 205, 0.2);
}

.gd-personio-theme-geo-digital .gd-personio-arrow-circle,
.gd-personio-theme-geo-digital-dark .gd-personio-arrow-circle {
    background-color: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.gd-personio-theme-geo-digital .gd-personio-card:hover .gd-personio-arrow-circle,
.gd-personio-theme-geo-digital .gd-personio-card.is-active .gd-personio-arrow-circle,
.gd-personio-theme-geo-digital-dark .gd-personio-card:hover .gd-personio-arrow-circle,
.gd-personio-theme-geo-digital-dark .gd-personio-card.is-active .gd-personio-arrow-circle {
    background-color: #6CD2CD;
    color: #0f1d3d;
}

.gd-personio-theme-geo-digital .gd-personio-btn-apply,
.gd-personio-theme-geo-digital-dark .gd-personio-btn-apply {
    background-color: #6CD2CD !important;
    color: #0f1d3d !important;
    font-weight: 700;
    border-radius: 6px !important;
    box-shadow: 0 4px 15px rgba(108, 210, 205, 0.35);
}

.gd-personio-theme-geo-digital .gd-personio-btn-apply:hover,
.gd-personio-theme-geo-digital-dark .gd-personio-btn-apply:hover {
    background-color: #5bbcb8 !important;
    color: #0f1d3d !important;
    box-shadow: 0 6px 20px rgba(108, 210, 205, 0.5);
    transform: translateY(-2px);
}

.gd-personio-theme-geo-digital .gd-personio-card-body,
.gd-personio-theme-geo-digital-dark .gd-personio-card-body {
    border-top: none !important;
    color: #cbd5e1;
}

.gd-personio-theme-geo-digital .gd-personio-section-content,
.gd-personio-theme-geo-digital-dark .gd-personio-section-content {
    color: #cbd5e1;
}

.gd-personio-theme-geo-digital .gd-section-contact,
.gd-personio-theme-geo-digital-dark .gd-section-contact {
    background: transparent !important;
    border: none !important;
}

.gd-personio-theme-geo-digital .gd-personio-contact-card,
.gd-personio-theme-geo-digital-dark .gd-personio-contact-card {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.gd-personio-theme-geo-digital .gd-personio-contact-info strong,
.gd-personio-theme-geo-digital .gd-personio-contact-info .gd-contact-name,
.gd-personio-theme-geo-digital-dark .gd-personio-contact-info strong,
.gd-personio-theme-geo-digital-dark .gd-personio-contact-info .gd-contact-name {
    color: #ffffff !important;
}

.gd-personio-theme-geo-digital .gd-personio-contact-info span,
.gd-personio-theme-geo-digital .gd-personio-contact-info .gd-contact-role,
.gd-personio-theme-geo-digital-dark .gd-personio-contact-info span,
.gd-personio-theme-geo-digital-dark .gd-personio-contact-info .gd-contact-role {
    color: #94a3b8 !important;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 640px) {
    .gd-personio-card-header {
        padding: 1rem;
    }
    .gd-personio-meta {
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
    }
    .gd-personio-controls {
        flex-direction: column;
    }
    .gd-personio-filter-box {
        flex: 1 1 100%;
    }
    .gd-personio-body-inner {
        padding: 1.25rem 1rem;
    }
    .gd-personio-contact-card {
        gap: 1rem;
    }
}
