
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* :root {
   
    --pk_up_font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --pk_up_font-size-base: 15px; 


    --pk_up_protikriya-blue: #1e3a5f;       
    --pk_up_protikriya-blue-light: #e8eef5; 
    --pk_up_protikriya-blue-dark: #12233b;  
    
    --pk_up_protikriya-orange: #ff4500;     
    --pk_up_protikriya-orange-light: #fff0eb; 
    --pk_up_protikriya-orange-dark: #cc3700;  


    --pk_up_success: #10b981; 
    --pk_up_warning: #f59e0b; 
    --pk_up_danger: #ef4444;
    --pk_up_gray-50: #f9fafb; 
    --pk_up_gray-100: #f3f4f6; 
    --pk_up_gray-200: #e5e7eb; 
    --pk_up_gray-300: #d1d5db;
    --pk_up_gray-400: #9ca3af; 
    --pk_up_gray-500: #6b7280; 
    --pk_up_gray-600: #4b5563; 
    --pk_up_gray-700: #374151;
    --pk_up_gray-800: #1f2937; 
    --pk_up_gray-900: #111827; 
    --pk_up_white: #ffffff;
    

    --pk_up_primary: var(--pk_up_protikriya-blue);
    --pk_up_primary-light: var(--pk_up_protikriya-blue-light);
    --pk_up_primary-dark: var(--pk_up_protikriya-blue-dark);
    --pk_up_secondary: var(--pk_up_protikriya-orange);
    

    --pk_up_shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --pk_up_shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --pk_up_shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --pk_up_shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --pk_up_radius: 8px; 
    --pk_up_radius-md: 12px; 
    --pk_up_radius-lg: 16px;
} */

/* =========================================
   Upload Page Custom Styles (Complete CSS)
========================================= */

/* --- 1. Base Layout & Typography --- */
body { 
    font-family: var(--pk_up_font-family); 
    font-size: var(--pk_up_font-size-base);
    background-color: var(--pk_up_gray-50); 
    color: var(--pk_up_gray-800); 
    line-height: 1.5; 
    -webkit-font-smoothing: antialiased;
}

/* --- 2. Navbar & Containers --- */
.pk_up_navbar { 
    background: var(--pk_up_white); 
    border-bottom: 1px solid var(--pk_up_gray-200); 
    height: 64px; 
    display: flex; 
    align-items: center; 
    padding: 0 32px; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}

.pk_up_nav-logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-weight: 700; 
    font-size: 20px; 
    color: var(--pk_up_primary); 
    text-decoration: none; 
}

.pk_up_container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 40px 32px; 
    display: grid; 
    grid-template-columns: 320px 1fr; 
    gap: 40px; 
}

.pk_up_main-content { 
    max-width: 800px; 
    min-width: 0; 
}

/* --- 3. Sidebar Layout --- */
.pk_up_sidebar-left { 
    position: sticky; 
    top: 88px; 
    height: fit-content; 
}

.pk_up_sidebar-card { 
    background: var(--pk_up_white); 
    border: 1px solid var(--pk_up_gray-200); 
    border-radius: var(--pk_up_radius-lg); 
    padding: 24px; 
    margin-bottom: 24px; 
    box-shadow: var(--pk_up_shadow-sm); 
}

.pk_up_sidebar-title { 
    font-size: 16px; 
    font-weight: 600; 
    color: var(--pk_up_gray-900); 
    margin-bottom: 20px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.pk_up_sidebar-title i { 
    color: var(--pk_up_primary); 
}

.pk_up_rule-heading { 
    font-size: 12px; 
    color: var(--pk_up_gray-500); 
    margin-bottom: 16px; 
    font-weight: 600; 
}

.pk_up_rule-heading-mt { 
    margin-top: 20px; 
}

.pk_up_rule-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 10px; 
    padding: 10px 0; 
    border-bottom: 1px solid var(--pk_up_gray-100); 
    font-size: 13px; 
}

.pk_up_rule-item:last-child { 
    border-bottom: none; 
    padding-bottom: 0; 
}

.pk_up_rule-icon { 
    width: 18px; 
    height: 18px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 9px; 
    flex-shrink: 0; 
    margin-top: 2px; 
}

.pk_up_allow { 
    background: var(--pk_up_primary-light); 
    color: var(--pk_up_primary); 
}

.pk_up_deny { 
    background: #fee2e2; 
    color: var(--pk_up_danger); 
}

.pk_up_pro-tips-card { 
    background: var(--pk_up_protikriya-blue-light); 
    border-color: var(--pk_up_protikriya-blue); 
}

.pk_up_pro-tips-title { 
    font-size: 14px; 
    font-weight: 600; 
    color: var(--pk_up_protikriya-blue-dark); 
    margin-bottom: 12px; 
}

.pk_up_pro-tips-list { 
    list-style: none; 
    font-size: 13px; 
    color: var(--pk_up_protikriya-blue-dark); 
    line-height: 1.8; 
}

/* --- 4. Page Header & Steps --- */
.pk_up_page-header { 
    margin-bottom: 32px; 
}

.pk_up_page-title { 
    font-size: 28px; 
    font-weight: 700; 
    color: var(--pk_up_primary); 
}

.pk_up_page-subtitle { 
    color: var(--pk_up_gray-500); 
}

.pk_up_step-progress-container { 
    background: var(--pk_up_white); 
    border: 1px solid var(--pk_up_gray-200); 
    border-radius: var(--pk_up_radius-lg); 
    padding: 24px 32px; 
    margin-bottom: 32px; 
    box-shadow: var(--pk_up_shadow-sm); 
    
}

.pk_up_step-progress { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    position: relative; 
}

.pk_up_step-progress::before { 
    content: ''; 
    position: absolute; 
    top: 50%; 
    left: 0; 
    right: 0; 
    height: 2px; 
    background: var(--pk_up_gray-200); 
    z-index: 0; 
    transform: translateY(-50%); 
}

.pk_up_step-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 8px; 
    position: relative; 
    z-index: 1; 
    background: var(--pk_up_white); 
    padding: 0 12px; 
}

.pk_up_step-number { 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    background: var(--pk_up_gray-100); 
    border: 2px solid var(--pk_up_gray-300); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 600; 
    font-size: 14px; 
    color: var(--pk_up_gray-500); 
    transition: all 0.3s; 
}

.pk_up_step-label { 
    font-size: 13px; 
    font-weight: 500; 
    color: var(--pk_up_gray-500); 
}

.pk_up_step-item.pk_up_active .pk_up_step-number { 
    background: var(--pk_up_secondary); 
    border-color: var(--pk_up_secondary); 
    color: white; 
    box-shadow: 0 0 0 4px var(--pk_up_protikriya-orange-light); 
}

.pk_up_step-item.pk_up_active .pk_up_step-label { 
    color: var(--pk_up_secondary); 
    font-weight: 600; 
}

.pk_up_step-item.pk_up_completed .pk_up_step-number { 
    background: var(--pk_up_primary); 
    border-color: var(--pk_up_primary); 
    color: white; 
}

.pk_up_step-item.pk_up_completed .pk_up_step-label { 
    color: var(--pk_up_primary); 
}

.pk_up_step-section { 
    background: var(--pk_up_white); 
    border: 1px solid var(--pk_up_gray-200); 
    border-radius: var(--pk_up_radius-lg); 
    padding: 32px; 
    margin-bottom: 24px; 
    box-shadow: var(--pk_up_shadow-sm); 
    display: none; 
}

.pk_up_step-section.pk_up_active { 
    display: block; 
    animation: fadeIn 0.4s ease; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.pk_up_step-header { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 24px; 
    padding-bottom: 20px; 
    border-bottom: 1px solid var(--pk_up_gray-100); 
}

.pk_up_step-badge { 
    width: 32px; 
    height: 32px; 
    background: var(--pk_up_protikriya-orange-light); 
    color: var(--pk_up_secondary); 
    border-radius: var(--pk_up_radius); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 700; 
    font-size: 14px; 
}

.pk_up_step-title { 
    font-size: 18px; 
    font-weight: 600; 
    color: var(--pk_up_gray-900); 
}

/* --- 5. Forms & Inputs --- */
.pk_up_form-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
}

.pk_up_form-group { 
    margin-bottom: 24px; 
    position: relative; 
}

.pk_up_form-label { 
    display: block; 
    font-size: 14px; 
    font-weight: 500; 
    color: var(--pk_up_gray-700); 
    margin-bottom: 8px; 
}

.pk_up_form-label span { 
    color: var(--pk_up_gray-400); 
    font-weight: 400; 
    margin-left: 4px; 
}

.pk_up_form-control { 
    width: 100%; 
    padding: 12px 16px; 
    border: 1px solid var(--pk_up_gray-300); 
    border-radius: var(--pk_up_radius); 
    font-size: var(--pk_up_font-size-base); 
    font-family: inherit; 
    color: var(--pk_up_gray-900); 
    background: var(--pk_up_white); 
    transition: all 0.2s; 
}

.pk_up_form-control:focus { 
    outline: none; 
    border-color: var(--pk_up_primary); 
    box-shadow: 0 0 0 3px var(--pk_up_primary-light); 
}

textarea.pk_up_form-control { 
    min-height: 100px; 
    resize: vertical; 
}

.pk_up_char-count { 
    text-align: right; 
    font-size: 12px; 
    color: var(--pk_up_gray-400); 
    margin-top: 6px; 
}

/* --- 6. Suggestions & Tags --- */
.pk_up_suggestions-box { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background: white; 
    border: 1px solid var(--pk_up_gray-200); 
    border-radius: 0 0 var(--pk_up_radius) var(--pk_up_radius); 
    z-index: 1000; 
    display: none; 
    max-height: 200px; 
    overflow-y: auto; 
    box-shadow: var(--pk_up_shadow-md); 
}

.pk_up_suggestion-item { 
    padding: 12px 20px; 
    cursor: pointer; 
    border-bottom: 1px solid var(--pk_up_gray-100); 
    font-size: 14px; 
}

.pk_up_suggestion-item:hover { 
    background: var(--pk_up_primary-light); 
    color: var(--pk_up_primary-dark); 
}

.pk_up_tags-input-container { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
    padding: 8px; 
    border: 1px solid var(--pk_up_gray-300); 
    border-radius: var(--pk_up_radius); 
    background: white; 
    min-height: 46px; 
    align-items: center; 
    cursor: text; 
}

.pk_up_tags-input-container:focus-within { 
    border-color: var(--pk_up_primary); 
    box-shadow: 0 0 0 3px var(--pk_up_primary-light); 
}

.pk_up_tag-pill { 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    background: var(--pk_up_protikriya-orange-light); 
    color: var(--pk_up_secondary); 
    padding: 4px 12px; 
    border-radius: 20px; 
    font-size: 13px; 
    font-weight: 600; 
}

.pk_up_tag-remove-btn { 
    background: none; 
    border: none; 
    color: var(--pk_up_secondary); 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.2s;
}

.pk_up_tag-remove-btn:hover { 
    color: var(--pk_up_protikriya-orange-dark); 
    transform: scale(1.1); 
}

.pk_up_tags-input { 
    border: none; 
    outline: none; 
    flex: 1; 
    min-width: 120px; 
    font-size: 14px; 
    padding: 4px; 
    background: transparent; 
}

/* --- 7. Utility Classes --- */
.pk_up_nav-right { justify-content: flex-end; }
.pk_up_ml-auto { margin-left: auto; }
.pk_up_align-center { align-items: center; }
.pk_up_hidden { display: none; }

/* --- 8. Upload Area --- */
.pk_up_upload-area { 
    border: 2px dashed var(--pk_up_gray-300); 
    border-radius: var(--pk_up_radius-md); 
    padding: 48px 32px; 
    text-align: center; 
    cursor: pointer; 
    background: var(--pk_up_gray-50); 
    transition: all 0.2s;
}

.pk_up_upload-area:hover { 
    border-color: var(--pk_up_primary); 
    background: var(--pk_up_primary-light); 
}

.pk_up_upload-icon-large { 
    width: 64px; 
    height: 64px; 
    background: white; 
    border-radius: var(--pk_up_radius-lg); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 16px; 
    box-shadow: var(--pk_up_shadow); 
    transition: all 0.3s;
}

.pk_up_upload-area:hover .pk_up_upload-icon-large { 
    transform: translateY(-5px); 
    color: var(--pk_up_secondary); 
}

.pk_up_upload-icon-large i { 
    font-size: 28px; 
    color: var(--pk_up_primary); 
    transition: all 0.3s; 
}

.pk_up_upload-area:hover .pk_up_upload-icon-large i { 
    color: var(--pk_up_secondary); 
}

.pk_up_upload-title { 
    font-weight: 600; 
    margin-bottom: 8px; 
    color: var(--pk_up_primary); 
}

.pk_up_upload-subtitle { 
    font-size: 14px; 
    color: var(--pk_up_gray-500); 
}

.pk_up_video-preview-box { 
    display: none; 
    background: var(--pk_up_gray-900); 
    border-radius: var(--pk_up_radius-md); 
    overflow: hidden; 
    margin-top: 20px; 
}

.pk_up_video-preview-box.pk_up_show { 
    display: block; 
}

.pk_up_video-player-main { 
    width: 100%; 
    aspect-ratio: 16/9; 
    background: black; 
}

.pk_up_fallback-preview { 
    background: #1e293b; 
    border-radius: 8px; 
    padding: 20px; 
    text-align: center; 
    border: 1px solid #475569; 
    margin-bottom: 15px; 
}

.pk_up_fallback-icon { 
    font-size: 30px; 
    color: #10b981; 
    margin-bottom: 10px; 
}

.pk_up_fallback-title { 
    color: #f8fafc; 
    font-size: 16px; 
    margin-bottom: 5px; 
}

.pk_up_fallback-text { 
    color: #94a3b8; 
    font-size: 13px; 
}

.pk_up_fallback-strong { 
    color: #e2e8f0; 
}

.pk_up_video-details-bar { 
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    gap: 16px 24px; 
    padding: 16px 20px; 
    background: var(--pk_up_gray-800); 
    border-top: 1px solid var(--pk_up_gray-700); 
}

.pk_up_detail-item { 
    display: flex; 
    flex-direction: column; 
    gap: 4px; 
    min-width: 0; 
}

.pk_up_detail-label { 
    font-size: 11px; 
    color: var(--pk_up_gray-400); 
    text-transform: uppercase; 
}

.pk_up_detail-value { 
    font-size: 13px; 
    color: white; 
    font-weight: 500; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    max-width: 180px; 
}

.pk_up_detail-item:last-child { 
    margin-left: auto; 
}

/* --- 9. Thumbnails Options --- */
.pk_up_step-desc { 
    font-size: 14px; 
    color: var(--pk_up_gray-600); 
    margin-bottom: 16px; 
}

.pk_up_thumbnail-options { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin-bottom: 24px; 
}

.pk_up_thumbnail-option-box { 
    border: 2px solid var(--pk_up_gray-200); 
    border-radius: var(--pk_up_radius-md); 
    padding: 24px; 
    text-align: center; 
    cursor: pointer; 
    background: var(--pk_up_gray-50); 
    transition: all 0.2s;
}

.pk_up_thumbnail-option-box:hover, 
.pk_up_thumbnail-option-box.pk_up_active { 
    border-color: var(--pk_up_secondary); 
    background: var(--pk_up_protikriya-orange-light); 
    box-shadow: var(--pk_up_shadow-sm); 
}

.pk_up_option-icon { 
    width: 48px; 
    height: 48px; 
    background: white; 
    border-radius: var(--pk_up_radius); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 12px; 
    box-shadow: var(--pk_up_shadow-sm); 
    transition: all 0.3s; 
}

.pk_up_option-icon i { 
    font-size: 20px; 
    color: var(--pk_up_primary); 
    transition: all 0.3s; 
}

.pk_up_option-text { 
    font-weight: 600; 
    color: var(--pk_up_primary); 
}

.pk_up_thumbnail-option-box:hover .pk_up_option-icon i, 
.pk_up_thumbnail-option-box.pk_up_active .pk_up_option-icon i { 
    color: var(--pk_up_secondary); 
}

.pk_up_capture-section { 
    display: none; 
    margin-top: 24px; 
    padding: 24px; 
    background: var(--pk_up_gray-50); 
    border-radius: var(--pk_up_radius); 
    border: 1px solid var(--pk_up_gray-200); 
}

.pk_up_capture-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 16px; 
}

.pk_up_capture-title { 
    font-weight: 600; 
    color: var(--pk_up_primary); 
}

.pk_up_thumbnail-gallery { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); 
    gap: 16px; 
    margin-top: 20px; 
}

.pk_up_thumbnail-card { 
    position: relative; 
    aspect-ratio: 16/10; 
    border-radius: var(--pk_up_radius); 
    overflow: hidden; 
    cursor: pointer; 
    border: 2px solid transparent; 
    transition: all 0.2s;
}

.pk_up_thumbnail-card:hover { 
    transform: translateY(-2px); 
    box-shadow: var(--pk_up_shadow-md); 
}

.pk_up_thumbnail-card.pk_up_selected { 
    border-color: var(--pk_up_secondary); 
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.2); 
}

.pk_up_thumbnail-card img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.pk_up_thumbnail-select-overlay { 
    position: absolute; 
    inset: 0; 
    background: rgba(255, 69, 0, 0.9); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    transition: opacity 0.2s;
}

.pk_up_thumbnail-card.pk_up_selected .pk_up_thumbnail-select-overlay { 
    opacity: 1; 
    color: white; 
    font-size: 24px;
}

.pk_up_selected-thumb-preview { 
    display: none; 
    margin-top: 20px; 
    padding: 20px; 
    background: var(--pk_up_primary-light); 
    border: 1px solid var(--pk_up_primary); 
    border-radius: var(--pk_up_radius); 
}

.pk_up_selected-thumb-preview.pk_up_show { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    overflow: hidden; 
}

.pk_up_selected-thumb-preview img { 
    width: 160px; 
    aspect-ratio: 16/9; 
    object-fit: cover; 
    border-radius: 6px; 
    flex-shrink: 0; 
    border: 1px solid var(--pk_up_gray-300); 
}

.pk_up_selected-thumb-preview > div:last-child { 
    flex: 1; 
    min-width: 0; 
}

.pk_up_thumb-ready-title { 
    font-weight: 600; 
    color: var(--pk_up_primary); 
}

.pk_up_thumb-ready-text { 
    font-size: 13px; 
    color: var(--pk_up_gray-600); 
}

/* --- 10. Ratings Global Fixes --- */
.pk_up_ratings-container, 
.pk_up_ratings-container * {
    box-sizing: border-box !important;
}

#pk_up_dynamicRatingsContainer {
    box-sizing: border-box !important;
    max-width: 100%;
    overflow: hidden; 
}

.pk_up_ratings-container {
    font-family: inherit;
    width: 100%;
    background: var(--pk_up_gray-100, #f8fafc); 
    border: 1px solid var(--pk_up_gray-300, #e2e8f0); 
    border-radius: 8px; 
    padding: 24px; 
    margin-bottom: 24px;
}

.pk_up_loading-text { 
    text-align: center; 
    color: var(--pk_up_gray-500); 
    padding: 20px; 
}

/* --- 11. Overall Rating Panel --- */
.pk_up_overall-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 15px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    width: 100%;
}

.pk_up_ov-left {
    text-align: center;
    padding-right: 20px;
    border-right: 1px solid #e2e8f0;
}

.pk_up_ov-num {
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.pk_up_ov-stars {
    font-size: 12px;
    margin: 4px 0;
    display: flex;
    gap: 3px;
}

.pk_up_ov-stars i {
    color: #e2e8f0;
    transition: color .3s;
}

.pk_up_ov-sub {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.pk_up_ov-right {
    flex: 1;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    justify-content: center;
}

.pk_up_ov-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 13px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.pk_up_ov-desc {
    font-size: 11px;
    color: #94a3b8;
    font-style: italic;
}

.pk_up_bd-row {
    display: flex;
    align-items: center;
    gap: 9px;
}

.pk_up_bd-lbl {
    font-size: 11px;
    color: #64748b;
    width: 30px;
    text-align: right;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 2px;
}

.pk_up_bd-lbl i {
    font-size: 9px;
}

.pk_up_bd-track {
    flex: 1;
    height: 5px;
    background: #f1f5f9;
    border-radius: 99px;
    overflow: hidden;
}

.pk_up_bd-fill {
    height: 100%;
    border-radius: 99px;
    width: 0%;
    transition: width .5s cubic-bezier(.4,0,.2,1);
}

.pk_up_bd-cnt {
    font-size: 11px;
    color: #94a3b8;
    width: 18px;
    flex-shrink: 0;
}

/* --- 12. Individual Rating Cards --- */
.pk_up_ratings_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    width: 100%;
}

.pk_up_rating_card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, box-shadow .15s;
}

.pk_up_rating_card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 20px -4px rgba(0,0,0,.07);
}

.pk_up_rc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 13px 15px;
    border-bottom: 1px solid #f1f5f9;
}

.pk_up_rc-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    background: #f8fafc;
    transition: background .3s;
}

.pk_up_rc-icon i {
    font-size: 16px;
    color: #94a3b8;
    transition: color .3s;
}

.pk_up_rc-text {
    flex: 1;
    line-height: 1.2;
    min-width: 0;
}

.pk_up_rc-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 13px;
}

.pk_up_rc-desc {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.pk_up_rc-pill {
    padding: 3px 8px;
    border-style: solid;
    border-width: 1px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    background: #f8fafc;
    white-space: nowrap;
    transition: all .25s;
    flex-shrink: 0;
}

.pk_up_rc-body {
    padding: 16px 15px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

/* --- 13. Stars & Progress Inside Cards --- */
.pk_up_star-wrap {
    position: relative;
    font-size: 24px;
    color: #e2e8f0;
    cursor: pointer;
    display: inline-flex;
    user-select: none;
    touch-action: none;
    margin-bottom: 8px;
}

.pk_up_s-bg {
    display: flex;
    gap: 3px;
}

.pk_up_s-bg i {
    color: #e2e8f0;
}

.pk_up_s-fg {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    gap: 3px;
    pointer-events: none;
    width: 0%;
    transition: color .15s;
}

.pk_up_s-fg i {
    color: #94a3b8;
}

.pk_up_prog-wrap {
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
    width: 100%;
}

.pk_up_prog-bar {
    height: 100%;
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s cubic-bezier(.4,0,.2,1), background-color 0.3s ease;
}

.pk_up_rc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.pk_up_sent-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #94a3b8;
    letter-spacing: .02em;
    transition: all .25s;
}

.pk_up_slide-hint {
    font-size: 10px;
    color: #cbd5e1;
    opacity: 0;
    transition: opacity .2s;
    margin-top: -4px;
}

.pk_up_rating_card:hover .pk_up_slide-hint,
.pk_up_rating_card:focus-within .pk_up_slide-hint {
    opacity: 1;
}

/* --- 14. Review & Submit Summary --- */
.pk_up_summary-container { 
    background: var(--pk_up_gray-50); 
    border-radius: var(--pk_up_radius); 
    padding: 24px; 
    margin-bottom: 24px; 
    border: 1px solid var(--pk_up_gray-200); 
}

.pk_up_summary-title { 
    font-size: 14px; 
    font-weight: 600; 
    color: var(--pk_up_primary); 
    margin-bottom: 16px; 
    text-transform: uppercase; 
}

.pk_up_summary-row { 
    display: flex; 
    justify-content: space-between; 
    gap: 16px; 
    padding-bottom: 12px; 
    border-bottom: 1px solid var(--pk_up_gray-200); 
    margin-bottom: 12px; 
}

.pk_up_summary-row:last-child { 
    border-bottom: none; 
    padding-bottom: 0; 
    margin-bottom: 0; 
}

.pk_up_summary-label { 
    color: var(--pk_up_gray-500); 
    font-size: 14px; 
    flex-shrink: 0; 
}

.pk_up_summary-value { 
    color: var(--pk_up_gray-900); 
    font-weight: 600; 
    font-size: 14px; 
    text-align: right; 
    word-break: break-word; 
    min-width: 0; 
}

.pk_up_thumb-preview-wrap { 
    display: flex; 
    align-items: center; 
    justify-content: flex-end; 
    gap: 8px; 
}

.pk_up_summary-thumb-img { 
    width: 60px; 
    height: 36px; 
    object-fit: cover; 
    border-radius: 4px; 
    border: 1px solid var(--pk_up_gray-300); 
}

.pk_up_thumb-selected-text { 
    color: var(--pk_up_primary); 
    font-weight: 600; 
    font-size: 13px; 
}

.pk_up_terms-box { 
    background: var(--pk_up_primary-light); 
    border: 1px solid var(--pk_up_primary); 
    border-radius: var(--pk_up_radius); 
    padding: 16px; 
    margin-bottom: 24px; 
}

.pk_up_terms-label { 
    display: flex; 
    align-items: flex-start; 
    gap: 12px; 
    cursor: pointer; 
}

.pk_up_terms-checkbox { 
    margin-top: 2px; 
}

.pk_up_terms-text { 
    font-size: 14px; 
    color: var(--pk_up_gray-700); 
    line-height: 1.6; 
}

.pk_up_terms-link { 
    color: var(--pk_up_primary); 
    font-weight: 600; 
    text-decoration: none; 
}

/* --- 15. Buttons & Navigation --- */
.pk_up_btn-primary, 
.pk_up_btn-secondary { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    padding: 10px 20px; 
    border-radius: var(--pk_up_radius); 
    font-size: 14px; 
    font-weight: 600; 
    cursor: pointer; 
    border: 1px solid transparent; 
    transition: all 0.3s ease; 
}

.pk_up_btn-primary { 
    background: var(--pk_up_secondary); 
    color: white; 
    box-shadow: var(--pk_up_shadow-sm);
}

.pk_up_btn-primary:hover:not(:disabled) { 
    background: var(--pk_up_protikriya-orange-dark); 
    box-shadow: var(--pk_up_shadow-md);
    transform: translateY(-2px);
}

.pk_up_btn-primary:active:not(:disabled) { 
    transform: translateY(0); 
}

.pk_up_btn-primary:disabled { 
    opacity: 0.6; 
    cursor: not-allowed; 
    background: var(--pk_up_gray-400); 
}

.pk_up_btn-secondary { 
    background: white; 
    border-color: var(--pk_up_primary); 
    color: var(--pk_up_primary); 
}

.pk_up_btn-secondary:hover { 
    background: var(--pk_up_primary); 
    color: white; 
}

.pk_up_btn-large { 
    padding: 12px 32px; 
    font-size: 15px; 
}

.pk_up_btn-submit { 
    min-width: 200px; 
}

.pk_up_step-navigation { 
    display: flex; 
    justify-content: space-between; 
    margin-top: 32px; 
    padding-top: 24px; 
    border-top: 1px solid var(--pk_up_gray-200); 
}

/* --- 16. Toasts & Notifications --- */
.pk_up_toast-container { 
    position: fixed; 
    bottom: 24px; 
    right: 24px; 
    z-index: 9999; 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}

.pk_up_toast { 
    min-width: 250px; 
    background: var(--pk_up_gray-900); 
    color: white; 
    padding: 14px 20px; 
    border-radius: var(--pk_up_radius); 
    font-size: 14px; 
    font-weight: 500; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    box-shadow: var(--pk_up_shadow-lg); 
    transform: translateY(100px); 
    opacity: 0; 
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
}

.pk_up_toast.pk_up_show { 
    transform: translateY(0); 
    opacity: 1; 
}

.pk_up_toast.pk_up_success { 
    background: var(--pk_up_success); 
    border-left: 4px solid #059669; 
}

.pk_up_toast.pk_up_error { 
    background: var(--pk_up_danger); 
    border-left: 4px solid #991b1b; 
    color: white;
}

/* --- 17. Custom Modal (Leave Warning) --- */
.upload-modal-overlay {
    display: none; 
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(3px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    font-family: inherit; 
}

.upload-modal-overlay.active {
    display: flex;
}

.upload-modal-box {
    background: var(--bg-color, #ffffff); 
    padding: 24px;
    border-radius: 12px; 
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: modalFadeIn 0.3s ease;
}

.upload-modal-header {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--danger-color, #d32f2f); 
    margin-bottom: 12px;
}

.upload-modal-body {
    font-size: 1rem;
    color: var(--text-color, #555555); 
    margin-bottom: 24px;
    line-height: 1.5;
}

.upload-modal-footer {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.upload-modal-footer button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn-cancel {
    background: var(--secondary-bg, #f0f0f0);
    color: var(--text-color, #333333);
}

.btn-cancel:hover {
    background: var(--secondary-hover, #e0e0e0);
}

.btn-confirm {
    background: var(--danger-color, #d32f2f);
    color: var(--button-text-color, #ffffff);
}

.btn-confirm:hover {
    background: var(--danger-hover, #b71c1c);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* =========================================================
   📱 4. MEDIA QUERIES (The Ultimate Responsive Fix)
========================================================= */

/* 📌 500px বা ছোট: Overall Panel ভাঙা রোধ করতে */
@media (max-width: 500px) {
    .pk_up_overall-panel {
        flex-direction: column !important; /* পাশাপাশি থেকে নিচে নামানো হলো */
        align-items: stretch !important;
        gap: 20px;
        padding: 15px;
    }

    .pk_up_ov-left {
        width: 100%;
        text-align: center;
        border-right: none !important; /* বর্ডার রাইট মুছে নিচে দেওয়া হলো */
        border-bottom: 1px solid #e2e8f0; 
        padding-bottom: 15px;
        padding-right: 0;
    }

    .pk_up_ov-right {
        width: 100%;
        margin-left: 0 !important; 
    }

    #pk_ovBd {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden; 
    }
}

/* 📌 480px বা ছোট: Grid এবং Card Overflow Fix */
@media (max-width: 480px) {
    .pk_up_ratings_grid {
        grid-template-columns: 1fr; /* এক লাইনে একটা কার্ড */
    }

    .pk_up_rating_card {
        width: 100%;
        max-width: 100%;
        overflow: hidden; /* ডানদিক কোনোভাবেই কাটবে না */
        padding: 15px 12px; 
    }

    .pk_up_star-wrap {
        display: flex !important;
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 10px;
    }

    .pk_up_prog-wrap {
        width: 100%;
        margin-bottom: 12px;
    }

    .pk_up_rc-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

/* 📌 400px বা ছোট (360px): Text এবং Pill Overlap Fix */
@media (max-width: 400px) {
    .pk_up_rc-header {
        align-items: flex-start; /* লেখা দুই লাইন হলে পিল উপরেই থাকবে */
        gap: 8px; 
    }
    
    .pk_up_rc-text {
        min-width: 0; /* ফ্লেক্সবক্স ওভারফ্লো ফিক্স */
    }
    
    .pk_up_rc-name {
        font-size: 13px;
        word-wrap: break-word; /* লেখা লম্বা হলে নিজে থেকে নিচে নামবে */
        line-height: 1.3;
    }
    
    .pk_up_rc-pill {
        flex-shrink: 0; 
        white-space: nowrap; 
        margin-top: 2px;
    }
}
/* 📱 360px বা তার ছোট স্ক্রিনের জন্য (Text Break Fix) */
@media (max-width: 360px) {
    .pk_up_rc-header {
        gap: 5px !important;
    }
    
    .pk_up_rc-icon {
        width: 28px !important; /* জায়গা বাঁচানোর জন্য আইকন সামান্য ছোট করা হলো */
        height: 28px !important;
        font-size: 12px !important;
    }
    
    .pk_up_rc-name {
        font-size: 11.5px !important; /* ফন্ট সাইজ মানানসই করা হলো যাতে এক লাইনে ধরে */
        word-wrap: normal !important; /* 🌟 জোর করে মাঝখান থেকে শব্দ ভাঙা বন্ধ করা হলো */
        word-break: normal !important;
    }
    
    .pk_up_rc-pill {
        padding: 2px 6px !important; /* পিলটাকে হালকা ছোট করা হলো জায়গা বের করার জন্য */
        font-size: 10px !important;
    }
}

@media (max-width: 1024px) { 
    .pk_up_container { grid-template-columns: 1fr; gap: 24px; } 
    .pk_up_sidebar-left { position: static; order: 2; margin-top: 20px;} 
    .pk_up_main-content { order: 1; } 
}

@media (max-width: 640px) {
    .pk_up_container { padding: 16px; gap: 16px; }
    
    .pk_up_step-progress-container { padding: 16px; margin-bottom: 24px; }
    .pk_up_step-progress { flex-direction: row; overflow-x: auto; justify-content: flex-start; gap: 32px; padding-bottom: 8px; }
    .pk_up_step-progress::-webkit-scrollbar { height: 4px; } 
    .pk_up_step-progress::-webkit-scrollbar-thumb { background: var(--pk_up_gray-300); border-radius: 4px; }
    .pk_up_step-progress::before { display: none; } 
    .pk_up_step-item { min-width: max-content; padding: 0; }
    
    .pk_up_form-row { grid-template-columns: 1fr; gap: 16px; }
    .pk_up_step-section { padding: 20px 16px; }
    .pk_up_step-title { font-size: 16px; }

    .pk_up_video-details-bar { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 16px; 
        padding: 16px; 
    }
    .pk_up_detail-item:first-child { grid-column: 1 / -1; }
    .pk_up_detail-item[style*="margin-left"] { grid-column: 1 / -1; margin-left: 0 !important; margin-top: 8px; }
    .pk_up_detail-item[style*="margin-left"] button { width: 100%; justify-content: center; }

    .pk_up_thumbnail-options { grid-template-columns: 1fr; gap: 12px; }
    .pk_up_thumbnail-option-box { padding: 16px; display: flex; align-items: center; text-align: left; gap: 16px; }
    .pk_up_thumbnail-option-box .pk_up_option-icon { margin: 0; width: 40px; height: 40px; flex-shrink: 0; }
    .pk_up_thumbnail-option-box .pk_up_option-title { margin-bottom: 0; }
    
    .pk_up_capture-section { padding: 16px; }
    .pk_up_capture-section > div:first-child { flex-direction: column; align-items: stretch; gap: 16px; }
    .pk_up_capture-section button { width: 100%; justify-content: center; }
    .pk_up_thumbnail-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }

    .pk_up_selected-thumb-preview.pk_up_show { flex-direction: column; align-items: stretch; padding: 16px; gap: 12px; }
    .pk_up_selected-thumb-preview img { width: 100%; height: auto; }
    .pk_up_selected-thumb-preview > div:last-child { text-align: center; }

    .pk_up_summary-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .pk_up_summary-value { text-align: left; }
    .pk_up_summary-row > div { width: 100%; justify-content: flex-start; }

    .pk_up_step-navigation {
         flex-direction: column-reverse; 
         gap: 12px; 
         padding-top: 16px;
          margin-top: 24px;
        }
    .pk_up_step-navigation button { 
        width: 100%;
         justify-content: center;
         }
}