/* Main card styles */
.lyxity-wrap .card {
    max-width: 100%;
    margin-top: 20px;
    padding: 20px;
}

/* Progress bar styles */
.progress-bar-container {
    width: 100%;
    background-color: #f1f1f1;
    border-radius: 4px;
    margin: 10px 0;
}

.progress-bar {
    height: 30px;
    background-color: #4CAF50;
    border-radius: 4px;
    text-align: center;
    line-height: 30px;
    color: white;
    transition: width 0.3s;
}

/* Results section */
#update-results {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 4px solid #4CAF50;
}

/* Form layout */
.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.col-auto {
    margin-right: 10px;
}

/* Input group styles */
.input-group {
    display: flex;
    align-items: center;
}

.input-group-text {
    padding: 5px 10px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 4px 4px 0;
}

#days-input {
    border-radius: 4px 0 0 4px;
}

/* Posts navigation */
.posts-navigation {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.posts-found {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

.no-posts-message {
    background-color: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #0073aa;
    margin-top: 15px;
}

/* Search related styles */
.search-col {
    min-width: 250px;
}

#search-input {
    width: 100%;
    border-radius: 4px;
    padding: 6px 12px;
}

#clear-search {
    margin-left: 5px;
    padding: 0 8px;
    height: 30px;
}

/* Checkbox column styles */
.check-column {
    width: 2.2em;
    padding: 8px 10px;
    vertical-align: middle;
}

.check-column input[type="checkbox"] {
    margin-left: 8px;
    vertical-align: middle;
    margin-top: 0;
}

.wp-list-table thead .check-column {
    padding: 8px 0px;
    vertical-align: middle;
}

.wp-list-table thead .check-column input {
    margin: 0 0 0 8px;
    vertical-align: middle;
}

/* Modal and preview styles */
.content-preview {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.modal-dialog.modal-lg {
    max-width: 90%;
}

.alert {
    margin-top: 15px;
}

/* Pagination styles */
.tablenav-pages {
    float: right;
    margin: 0 0 9px;
    text-align: right;
}

.tablenav-pages .displaying-num {
    margin-right: 10px;
    color: #555;
    font-style: italic;
}

.tablenav-pages .pagination-links {
    display: inline-flex;
    align-items: center;
}

.tablenav-pages .button {
    min-width: 30px;
    height: 30px;
    margin: 0 3px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tablenav-pages .button.disabled {
    color: #a0a5aa;
    border-color: #ddd;
    background: #f7f7f7;
    box-shadow: none;
    cursor: default;
    transform: none;
}

.tablenav-pages .paging-input {
    margin: 0 6px;
    font-size: 13px;
}

/* Responsive styles */
@media (max-width: 782px) {
    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .col-auto {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .search-col {
        width: 100%;
    }
    
    .posts-navigation {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tablenav-pages {
        float: none;
        margin-top: 15px;
        text-align: left;
    }
}

#update-preview-modal{
    z-index: 999999;
}

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* Apply font family only to elements within the plugin's container */
.lyxity-dashboard h1, 
.lyxity-dashboard h2, 
.lyxity-dashboard h3, 
.lyxity-dashboard h4, 
.lyxity-dashboard h5, 
.lyxity-dashboard h6, 
.lyxity-dashboard p, 
.lyxity-dashboard input, 
.lyxity-dashboard button, 
.lyxity-dashboard select, 
.lyxity-dashboard textarea,
.lyxity-settings-wrap h1,
.lyxity-settings-wrap h2,
.lyxity-settings-wrap h3,
.lyxity-settings-wrap h4,
.lyxity-settings-wrap h5,
.lyxity-settings-wrap h6,
.lyxity-settings-wrap p,
.lyxity-settings-wrap input,
.lyxity-settings-wrap button,
.lyxity-settings-wrap select,
.lyxity-settings-wrap textarea,
.lyxity-wrap h1,
.lyxity-wrap h2,
.lyxity-wrap h3,
.lyxity-wrap h4,
.lyxity-wrap h5,
.lyxity-wrap h6,
.lyxity-wrap p,
.lyxity-wrap input,
.lyxity-wrap button,
.lyxity-wrap select,
.lyxity-wrap textarea {
    font-family: 'Libre Baskerville', serif;
}

/* Logo in dashboard */
.dashboard-logo {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
}