.woodapp-whatsapp-no p
{
    display:none;
}

.wp-heading-inline
{
    font-family:iransans;
}

.ui-tabs .ui-tabs-nav li
{
	float:right !important;
}
#your-profile label+a, label
{
	font-family:iranyekan ;
}
.woodapp-panel-sidebar
{
    display:none !important;
}
.wp-color-result-text
{
	    background: #ad113c !important;
    border-radius: 2px 0 0 2px;
    border-right: 1px solid #ccc;
    color: #fff !important;
    display: block;
    font-family: iranyekan;
    line-height: 2.54545455;
    padding: 0 6px;
    text-align: center;
}
.ui-tabs .ui-tabs-nav
{
	    margin: 0;
    padding: .2em .2em 0;
    border-bottom: 1px solid #DDD;
    background-color: aliceblue;
}
.ui-widget-content
{
	    border: 1px solid red;
    background: rgb(204 204 204 / 46%);
    color: #222;
}
.wp-heading-inline
{
	    background-color: #db0a56;
    padding: 14px;
    color: white;
    border-radius: 9px;
}
#publish-btn
{
	
}
.wp-picker-container
{
	    margin: 15px 0px;
}

.ui-widget-content
{
	font-family:iranyekan !important; 
}
.app_pages span.select2.select2-container {
    height: 31px !important;
}
.removeBanner
{
	       background-color: #db0a56;
    color: white;
    border-radius: 7px;
	cursor:pointer;
    padding: 7px;
    margin: 5px 0px 15px;
}
.woodapp-woo-api-btn
{
	width: 100%;
    font-family: iranyekan !important;
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button
{
	font-family:iranyekan !important;
}
.woodapp-woo-api-field-group
{
	margin:10px 0px;
}
.device-display
{
  margin-top: 15px;
}
.device-display img
{
  width: 50%;
}
.woodapp-wc-api-panel-sidebar
{
  float:left;
}
.woodapp-wc-api-panel-body
{
  float:right;
}
.woodapp-wc-api-panel-body
{
  margin-top: 40px ;
}
.woodapp-wc-api-panel-heading
{
  font-size: 17px;
  
  background-color: aliceblue;
  BORDER-RADIUS: 10px;
  padding: 10px;
  margin-bottom: 46px;
}
.woodapp-wc-api-panel-body
{
  margin-top: 26px;
  width: 100%;
}
.woodapp-wc-api-panel-body div
{
  margin-bottom: 20px;
}
.woodapp-wc-api-form-groups select
{
  width: 100%;
}
.woodapp-wc-api-form-groups label
{
  margin-top: 10px;
  margin-left: 20px;
}

.stories-admin-container {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.add-story-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #e9ecef;
    text-align: center;
}

.add-story-section .button {
    font-size: 15px;
    padding: 12px 24px;
    height: auto;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.add-story-section .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.add-story-section .dashicons {
    margin-right: 8px;
    vertical-align: middle;
    font-size: 16px;
}

/* استایل استوری‌ها */
.story-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.story-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.story-header {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: #fff;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.story-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.story-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.story-title .dashicons {
    margin-left: 10px;
    vertical-align: middle;
    font-size: 18px;
}

.story-actions {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.story-actions .button {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 13px;
    padding: 8px 16px;
    height: auto;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.story-actions .button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.story-content {
    padding: 25px;
    background: #fafbfc;
}

/* استایل فیلد عنوان */
.story-title-field {
    margin-bottom: 25px;
}

.story-title-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.story-title-input {
    width: 100%;
    max-width: 500px;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    color: #495057;
    background-color: #fff;
    transition: all 0.3s ease;
}

.story-title-input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.25);
    outline: none;
}

.story-title-input::placeholder {
    color: #6c757d;
    font-style: italic;
}

/* استایل آپلود تصویر */
.story-main-image {
    margin-bottom: 25px;
}

.subitem-image {
    margin-bottom: 15px;
}

.image-upload-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.image-preview {
    width: 150px;
    height: 150px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.image-preview:hover {
    border-color: #0073aa;
    background: #f8f9fa;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.no-image-placeholder {
    text-align: center;
    color: #999;
}

.no-image-placeholder .dashicons {
    font-size: 32px;
    margin-bottom: 10px;
}

.image-upload-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.image-upload-actions .button {
    min-width: 120px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.image-upload-actions .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* استایل زیرمجموعه‌ها */
.story-subitems h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

.subitems-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.subitem-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.subitem-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.subitem-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.subitem-header h5 {
    margin: 0;
    font-size: 14px;
    color: #495057;
    font-weight: 600;
}

.subitem-content {
    padding: 20px;
}

/* استایل تنظیمات لینک */
.subitem-link-settings {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.subitem-link-settings label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 13px;
}

.link-type-select,
.product-select2,
.category-select2 {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.link-type-select:focus,
.product-select2:focus,
.category-select2:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.25);
}

.product-selection,
.category-selection {
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* استایل دکمه ذخیره */
.save-stories-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.save-stories-section .button {
    font-size: 16px;
    padding: 12px 24px;
    height: auto;
}

.save-stories-section .dashicons {
    margin-right: 8px;
    vertical-align: middle;
}

/* انیمیشن‌ها */
.story-item,
.subitem-item {
    transition: all 0.3s ease;
}

.story-item:hover,
.subitem-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ریسپانسیو */
@media (max-width: 1200px) {
    .subitems-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .stories-admin-container {
        padding: 15px;
        margin: 10px 0;
    }
    
    .subitems-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .image-upload-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .story-actions {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .story-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding: 15px 20px;
    }
    
    .story-content {
        padding: 20px;
    }
    
    .subitem-content {
        padding: 15px;
    }
    
    .story-title {
        font-size: 16px;
    }
    
    .add-story-section .button {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .story-title-input {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .stories-admin-container {
        padding: 10px;
    }
    
    .story-header {
        padding: 12px 15px;
    }
    
    .story-content {
        padding: 15px;
    }
    
    .subitem-content {
        padding: 12px;
    }
    
    .image-preview {
        width: 120px;
        height: 120px;
    }
}

/* استایل Select2 سفارشی */
.select2-container--default .select2-selection--single {
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.select2-container--default .select2-selection--single:hover {
    border-color: #0073aa;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    padding-right: 15px;
    color: #495057;
    font-size: 14px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right: 10px;
}

.select2-dropdown {
    border: 1px solid #ced4da;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.select2-results__option {
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: #0073aa;
    color: #fff;
}

.select2-results__option[aria-selected=true] {
    background-color: #e3f2fd;
    color: #0073aa;
}

.select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.25);
}