#gallery-images-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#gallery-images-list li {
    position: relative;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    background: #f9f9f9;
}

#gallery-images-list img{
    width: auto;
    height: 150px;
   
}
#gallery-images-list .image-actions {
    margin-top: 20px;
}

#gallery-images-list .image-actions input {
    width: 100%;
    margin-bottom: 5px;
}

.remove-image {
    color: #dc3232;
    text-decoration: none;
}

.remove-image:hover {
    color: #a00;
}

/* Settings page styles */
.sepg-settings-tabs .nav-tab-wrapper {
    margin-bottom: 20px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-table th {
    width: 200px;
}

.button-danger {
    background: #dc3232;
    border-color: #dc3232;
    color: white;
}

.button-danger:hover {
    background: #a00;
    border-color: #a00;
}

/* Tools Section Styles */
.sepg-tools-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sepg-tool-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}

.sepg-tool-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #23282d;
}

.sepg-tool-card p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.5;
}

.sepg-import-section {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sepg-import-section input[type="file"] {
    flex: 1;
}

.sepg-export-btn,
.sepg-import-btn,
.sepg-reset-btn {
    min-width: 100px;
    text-align: center;
}

/* Button styles matching the screenshot */
.sepg-export-btn {
    background: #2271b1;
    border-color: #2271b1;
    color: white;
}

.sepg-export-btn:hover {
    background: #135e96;
    border-color: #135e96;
}

.sepg-import-btn {
    background: #f6f7f7;
    border-color: #2271b1;
    color: #2271b1;
}

.sepg-import-btn:hover {
    background: #f0f0f1;
    border-color: #0a4b78;
    color: #0a4b78;
}

.sepg-reset-btn {
    background: #d63638;
    border-color: #d63638;
    color: white;
}

.sepg-reset-btn:hover {
    background: #b32d2e;
    border-color: #b32d2e;
}

/* Style-dependent settings */
.style-dependent {
    display: none;
}

.slideshow-settings {
    background: #f9f9f9;
    padding: 10px;
    border-left: 4px solid #0073aa;
    margin: 10px 0;
}
/* tools  */
.sepg-switch {
    position: relative;
    display: inline-block;
    width: 49px;
    height: 23px;
    vertical-align: middle;
    margin-right: 10px;
}

.sepg-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sepg-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.sepg-slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.sepg-slider {
    background-color: #2271b1;
}

input:checked+.sepg-slider:before {
    transform: translateX(26px);
}

.sepg-slider.round {
    border-radius: 34px;
}

.sepg-slider.round:before {
    border-radius: 50%;
}

.sepg-switch-label {
    vertical-align: middle;
    font-weight: 600;
}
.sepg-tools {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sepg-tools-title {
    width: 200px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.sepg-tools-title::after {
    content: ':';
    display: inline-block;
}

.sepg-box {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 20px;
    margin-right: 20px;
}



#wpadminbar #wp-admin-bar-custom-logo .ab-item {
    padding: 0 7px;
}

#wpadminbar #wp-admin-bar-custom-logo .ab-item img {
    height: 20px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

#spg-export-settings {
    background-color: #b4d8e7;
    color: #1f4e6e;
    cursor: pointer;
    width: max-content;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid transparent;
    line-height: 1;
    text-decoration: none;
    transition: all .2s ease-in-out;
    font-size: .875rem;
}

#spg-export-settings:hover {
    background-color: #00a5e6;
    color: #00558f;
}

#spg-import-settings {
    background-color: #b4d8e7;
    color: #1f4e6e;
    cursor: pointer;
    width: max-content;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid transparent;
    line-height: 1;
    text-decoration: none;
    transition: all .2s ease-in-out;
    font-size: .875rem;
}

#spg-import-settings:hover {
    background-color: #00a5e6;
    color: #00558f;
}

#spg-reset-settings {
    background-color: #f8d7da;
    color: #d8000c;
    cursor: pointer;
    width: max-content;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid transparent;
    line-height: 1;
    text-decoration: none;
    transition: all .2s ease-in-out;
    font-size: .875rem;
}

#spg-reset-settings:hover {
    background-color: #f5c6cb;
    color: #a71d2a;
}

/* Responsive improvements */
@media (max-width: 782px) {
    .form-table th {
        width: 100%;
        display: block;
        padding-bottom: 5px;
    }
    
    .form-table td {
        display: block;
        width: 100%;
    }
    
    .sepg-tools-section {
        grid-template-columns: 1fr;
    }
    
    .sepg-import-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sepg-import-section input[type="file"] {
        margin-bottom: 10px;
    }
}

/* SweetAlert custom styles */
.swal2-popup {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.swal2-title {
    font-size: 20px !important;
}

.swal2-html-container {
    font-size: 14px !important;
}

