/* Card Styles */
.ssbhm-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
    max-width: 1000px;
    margin-bottom: 20px;
}

.ssbhm-card-header {
    border-bottom: 1px solid #ccd0d4;
    padding: 12px 20px;
    background: #fff;
}

.ssbhm-card-header h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #1d2327;
}

.ssbhm-card-body {
    padding: 20px;
}

.ssbhm-card-footer {
    padding: 15px 20px;
    background: #f6f7f7;
    border-top: 1px solid #ddd;
}

/* Management Grid */
.ssbhm-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.ssbhm-col {
    flex: 1;
    min-width: 200px;
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.ssbhm-col h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 13px;
    color: #555;
    text-transform: uppercase;
    font-weight: 600;
}

/* Locked Content */
.ssbhm-locked-section {
    position: relative;
    border: 1px dashed #ccc;
    background: #fafafa;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}

.ssbhm-locked-content {
    padding: 20px;
    filter: blur(3px);
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}

.ssbhm-lock-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
}

.ssbhm-lock-badge {
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 25px 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 320px;
}

.ssbhm-lock-icon {
    font-size: 32px;
    color: #444;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    text-align: center;
}

.ssbhm-upgrade-title {
    display: block;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.ssbhm-upgrade-desc {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.ssbhm-btn-upgrade {
    display: inline-block;
    background: #2271b1;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.2s;
}

.ssbhm-btn-upgrade:hover {
    background: #135e96;
    transform: translateY(-1px);
}

/* Table */
.ssbhm-hours-table { width: 100%; border-collapse: collapse; }
.ssbhm-hours-table th { text-align: left; padding: 10px; background: #f9f9f9; border-bottom: 2px solid #e5e5e5; }
.ssbhm-hours-table td { padding: 10px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }

/* Toggle */
.ssbhm-toggle { position: relative; display: inline-block; width: 36px; height: 20px; }
.ssbhm-toggle input { opacity: 0; width: 0; height: 0; }
.ssbhm-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 20px; }
.ssbhm-slider:before { position: absolute; content: ""; height: 14px; width: 14px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .ssbhm-slider { background-color: #2271b1; }
input:checked + .ssbhm-slider:before { transform: translateX(16px); }

/* Previews */
.ssbhm-preview-row { margin-bottom: 30px; border-bottom: 1px solid #e5e5e5; padding-bottom: 20px; }
.ssbhm-preview-row:last-child { border-bottom: none; margin-bottom: 0; }
.ssbhm-preview-row h4 { margin: 0 0 15px; font-size: 14px; color: #333; }
.ssbhm-preview-row h4 code { background: #e0e0e0; padding: 3px 6px; border-radius: 3px; font-weight: normal; }

.ssbhm-preview-grid { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }

.ssbhm-preview-box { 
    flex: 1; 
    min-width: 300px; 
    background: #fff; 
    border: 1px solid #e5e5e5; 
    border-radius: 6px; 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
}

.ssbhm-label { 
    display: block; 
    margin-bottom: 12px; 
    font-size: 11px; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    font-weight: 700; 
    color: #999; 
}

.ssbhm-free-badge {
    background: #22c55e; color: white; padding: 2px 6px; border-radius: 4px; font-size: 10px; margin-left: 5px; vertical-align: middle;
}