@charset "UTF-8";
    .stk-card {
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
        padding: 24px;
        position: relative;
        border: 1px solid #f3f4f6;
        height: 100%;
        display: flex;
        flex-direction: column;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .stk-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }
    .stk-card-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    .stk-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #f3f4f6;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 18px;
        color: #4b5563;
        overflow: hidden;
    }
    
    /* Logika Avatar CSS Berdasarkan Setting */
    
    
    .stk-menu-dots {
        color: #9ca3af;
        cursor: pointer;
    }
    
    /* Nama & Tipe */
    .stk-title {
        font-size: 17px;
        font-weight: 700;
        color: #111827;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    .stk-badge-wrap {
        margin-bottom: 24px;
    }
    .stk-badge {
        display: inline-block;
        padding: 4px 10px;
        background-color: #f3f4f6;
        color: #4b5563;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 600;
    }
    
    /* List Data */
    .stk-data-list {
        list-style: none;
        padding: 0;
        margin: 0 0 20px 0;
        border-top: 1px solid #f3f4f6;
        flex-grow: 1;
    }
    .stk-data-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #f3f4f6;
        font-size: 13px;
        color: #4b5563;
    }
    .stk-data-value {
        font-weight: 600;
        color: #111827;
        text-align: right;
    }
    
    /* Pil Status */
    .stk-status-pill {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .stk-status-active {
        background-color: #10b981;
        color: #ffffff;
    }
    .stk-status-expired {
        background-color: #ef4444;
        color: #ffffff;
    }
    
    /* Footer & Actions */
    .stk-footer {
        font-size: 12px;
        color: #6b7280;
        margin-bottom: 15px;
    }
    .stk-actions {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-top: auto;
    }
    @media (max-width: 640px) {
        .stk-actions {
            flex-direction: column;
        }
    }
    
    /* Override Masonry & Setup CSS Grid */
    .ui.cards.masonry.item-holder {
        column-count: auto !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
    }
    .ui.cards.masonry.item-holder::before, .ui.cards.masonry.item-holder::after { display: none !important; }
    .ui.cards.masonry.item-holder > .column, .ui.cards.masonry.item-holder > .card {
        width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        page-break-inside: auto !important;
        break-inside: auto !important;
    }
    
    @media (max-width: 1024px) {
        .ui.cards.masonry.item-holder {
            grid-template-columns: repeat(2, 1fr) !important;
        }
    }
    @media (max-width: 640px) {
        .ui.cards.masonry.item-holder {
            grid-template-columns: 1fr !important;
        }
    }
    
    /* --- LIST VIEW STYLES --- */
    .ui.cards.masonry.item-holder.stk-list-view {
        grid-template-columns: 1fr !important;
        max-width: 60%;
    }
    @media (max-width: 1024px) {
        .ui.cards.masonry.item-holder.stk-list-view {
            max-width: 100%;
        }
    }
    .item-holder.stk-list-view .stk-card {
        display: grid !important;
        grid-template-columns: 60px minmax(150px, 1.5fr) minmax(150px, 1.5fr) minmax(220px, auto);
        grid-template-rows: auto auto;
        grid-template-areas: 
            "avatar title data action"
            "avatar badge data action";
        align-items: center;
        padding: 16px 50px 16px 20px;
        gap: 5px 20px;
    }
    .item-holder.stk-list-view .stk-card-top {
        grid-area: avatar;
        margin-bottom: 0;
        min-width: unset;
        display: block;
    }
    .item-holder.stk-list-view .stk-menu-container {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 16px;
    }
    .item-holder.stk-list-view .stk-title {
        grid-area: title;
        margin-bottom: 0;
        align-self: end;
        font-size: 16px;
    }
    .item-holder.stk-list-view .stk-badge-wrap {
        grid-area: badge;
        margin-bottom: 0;
        align-self: start;
    }
    .item-holder.stk-list-view .stk-data-list {
        grid-area: data;
        display: flex;
        flex-direction: row;
        border-top: none;
        margin: 0;
        gap: 20px;
    }
    .item-holder.stk-list-view .stk-data-row {
        border-bottom: none;
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 4px;
    }
    .item-holder.stk-list-view .stk-data-label {
        font-size: 11px;
        color: #9ca3af;
    }
    .item-holder.stk-list-view .stk-data-value {
        text-align: left;
    }
    .item-holder.stk-list-view .stk-footer {
        display: none;
    }
    .item-holder.stk-list-view .stk-actions {
        grid-area: action;
        margin-top: 0;
        width: 100%;
        flex-direction: column;
    }
    
    @media (max-width: 900px) {
        .item-holder.stk-list-view .stk-card {
            grid-template-columns: 60px 1fr minmax(200px, auto);
            grid-template-areas: 
                "avatar title action"
                "avatar badge action"
                "data data data";
        }
        .item-holder.stk-list-view .stk-data-list {
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid #f3f4f6;
            width: 100%;
        }
    }
    
    @media (max-width: 640px) {
        .item-holder.stk-list-view .stk-card {
            grid-template-columns: 50px 1fr;
            grid-template-areas: 
                "avatar title"
                "avatar badge"
                "data data"
                "action action";
        }
        .item-holder.stk-list-view .stk-actions {
            margin-top: 10px;
        }
    }
    .stk-btn {
        flex: 1;
        text-align: center;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s;
        border: 1px solid #e5e7eb;
        color: #374151;
        background: white;
        cursor: pointer;
    }
    .stk-btn:hover {
        background: #f9fafb;
        color: #111827;
        border-color: #d1d5db;
    }
    .stk-btn-primary {
        background: var(--stk-btn-color);
        color: white;
        border-color: var(--stk-btn-color);
    }
    .stk-btn-primary:hover {
        background: var(--stk-btn-color);
        opacity: 0.9;
        color: white;
        border-color: var(--stk-btn-color);
    }
    
    
    /* Header Custom */
    .stk-custom-header-container {
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 2px solid #f3f4f6;
    }
    .stk-custom-header-title-wrap {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .stk-custom-header-title {
        font-size: 24px;
        font-weight: 700;
        color: #111827;
        margin: 0;
    }
    .stk-custom-header-subtitle {
        font-size: 14px;
        color: #6b7280;
        margin-top: 5px;
    }
    
    /* Pulse Icon */
    .stk-pulse-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        background-color: #3b82f6;
        color: white;
        border-radius: 50%;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        position: relative;
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
        animation: stkPulse 2s infinite;
    }
    @keyframes stkPulse {
        0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
        70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
        100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
    }

    /* Modal Popup */
    .stk-modal-overlay {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5);
        display: flex; align-items: center; justify-content: center;
        z-index: 999999;
        opacity: 0; pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .stk-modal-overlay.stk-modal-active {
        opacity: 1; pointer-events: auto;
    }
    .stk-modal-box {
        background: #fff;
        border-radius: 12px;
        width: 90%; max-width: 500px;
        padding: 24px;
        box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
        position: relative;
        transform: translateY(-20px);
        transition: transform 0.3s ease;
        max-height: 80vh;
        overflow-y: auto;
    }
    .stk-modal-overlay.stk-modal-active .stk-modal-box {
        transform: translateY(0);
    }
    .stk-modal-box-html {
        width: 95%; max-width: 900px;
        position: relative;
        transform: translateY(-20px);
        transition: transform 0.3s ease;
    }
    .stk-modal-overlay.stk-modal-active .stk-modal-box-html {
        transform: translateY(0);
    }
    .stk-modal-close {
        position: absolute; top: 15px; right: 15px;
        background: #f3f4f6; border: none; border-radius: 50%;
        width: 30px; height: 30px;
        font-size: 16px; font-weight: bold; color: #4b5563;
        cursor: pointer; display: flex; align-items: center; justify-content: center;
    }
    .stk-modal-close:hover { background: #e5e7eb; color: #111827; }

    /* Search & Filter Row */
    .stk-action-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .stk-search-box {
        position: relative;
        flex: 1 1 300px;
        max-width: 400px;
    }
    .stk-search-box input {
        width: 100%;
        padding: 10px 15px 10px 35px;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        font-size: 14px;
        outline: none;
        transition: border-color 0.2s, box-shadow 0.2s;
    }
    .stk-search-box input:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    }
    .stk-search-icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 14px;
    }
    
    .stk-filter-group {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }
    .stk-filter-btn {
        padding: 8px 16px;
        background: #f3f4f6;
        border: 1px solid transparent;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        color: #4b5563;
        cursor: pointer;
        transition: all 0.2s;
    }
    .stk-filter-btn:hover {
        background: #e5e7eb;
        color: #111827;
    }
    .stk-filter-btn.active {
        background: #111827;
        color: #ffffff;
    }
    /* Toggle View Buttons */
    .stk-view-toggle {
        display: flex;
        gap: 5px;
        background: #f3f4f6;
        padding: 4px;
        border-radius: 8px;
    }
    .stk-view-btn {
        background: transparent;
        border: none;
        padding: 6px 10px;
        border-radius: 6px;
        color: #9ca3af;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }
    .stk-view-btn:hover {
        color: #4b5563;
    }
    .stk-view-btn.active {
        background: #ffffff;
        color: #111827;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    .stk-view-btn svg {
        width: 18px;
        height: 18px;
    }
    /* --- DROPDOWN & PIN STYLES --- */
    .stk-card {
        position: relative;
    }
    .stk-menu-container {
        position: absolute;
        top: 16px;
        right: 16px;
        z-index: 20;
    }
    .stk-menu-dots {
        cursor: pointer;
        color: #9ca3af;
        transition: color 0.2s;
        padding: 4px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .stk-menu-dots:hover {
        color: #4b5563;
        background: #f3f4f6;
    }
    .stk-dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
        min-width: 180px;
        z-index: 100;
        padding: 4px 0;
        margin-top: 5px;
    }
    .stk-dropdown-menu.show {
        display: block;
        animation: stk-fade-in 0.2s ease-out;
    }
    .stk-dropdown-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 15px;
        font-size: 14px;
        color: #374151;
        cursor: pointer;
        transition: background 0.2s;
    }
    .stk-dropdown-item:hover {
        background: #f3f4f6;
    }
    .stk-dropdown-item.stk-action-soon {
        color: #9ca3af;
        cursor: not-allowed;
    }
    
    /* Pin Active State */
    .stk-action-pin.is-pinned {
        color: #eab308;
    }
    .stk-card.is-pinned {
        border: 1.5px solid #eab308;
        box-shadow: 0 4px 12px rgba(234, 179, 8, 0.15);
    }
    .stk-card.is-pinned::before {
    content: "📌";
        position: absolute;
        top: -12px;
        right: 15px;
        background: #ffffff;
        border: 1px solid #eab308;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 10;
    }
    
    /* Toast Notification */
    #stk-toast-container {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        gap: 10px;
        pointer-events: none;
    }
    .stk-toast {
        background: #111827;
        color: #ffffff;
        padding: 12px 24px;
        border-radius: 8px;
        font-size: 14px;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
        animation: stk-toast-in 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
        opacity: 0;
    }
    .stk-toast.hide {
        animation: stk-toast-out 0.3s ease-in forwards;
    }
    
    @keyframes stk-fade-in {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }
    @keyframes stk-toast-in {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    @keyframes stk-toast-out {
        from { opacity: 1; transform: translateY(0); }
        to { opacity: 0; transform: translateY(20px); }
    }
        .stk-wa-container {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 999999;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
        }
        .stk-wa-link {
            display: flex;
            align-items: center;
            text-decoration: none;
        }
        .stk-wa-icon-wrapper {
            width: 60px;
            height: 60px;
            background-color: #25d366;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 10px rgba(37,211,102,0.3);
            position: relative;
            animation: stk-pulse 2s infinite;
        }
        .stk-wa-icon {
            width: 35px;
            height: 35px;
            fill: #fff;
        }
        .stk-wa-message-bubble {
            background-color: #fff;
            color: #333;
            padding: 12px 20px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            margin-right: 15px;
            font-size: 14px;
            font-weight: 500;
            opacity: 0;
            transform: translateX(20px);
            transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            pointer-events: none;
            position: relative;
        }
        .stk-wa-message-bubble::after {
    content: " ";
            position: absolute;
            right: -8px;
            top: 50%;
            transform: translateY(-50%);
            border-width: 8px 0 8px 8px;
            border-style: solid;
            border-color: transparent transparent transparent #fff;
        }
        .stk-wa-message-bubble.stk-show-msg {
            opacity: 1;
            transform: translateX(0);
        }
        
        @keyframes stk-pulse {
            0% { box-shadow: 0 0 0 0 rgba(37,211,102, 0.6); }
            70% { box-shadow: 0 0 0 15px rgba(37,211,102, 0); }
            100% { box-shadow: 0 0 0 0 rgba(37,211,102, 0); }
        }
        
        @media screen and (max-width: 768px) {
            .stk-wa-container { bottom: 20px; right: 20px; }
            .stk-wa-icon-wrapper { width: 50px; height: 50px; }
            .stk-wa-icon { width: 30px; height: 30px; }
            .stk-wa-message-bubble { font-size: 13px; padding: 10px 15px; }
        }