

.ccspllms_container {
    max-width: -webkit-fill-available;
    /* margin: 20px auto; */
    margin: 1rem 1rem 0 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.ccspllms_header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 30px;
    text-align: center;
    display: flex;
    justify-content: space-between;
}

.ccspllmshead_right{
    justify-items: end;
}

.ccspllmshead_left{
    display: flex;
    
    justify-items: start;
}
.ccspllmshead_text{
    justify-items: start;
        max-width: 4rem;
    line-height: 2rem;
}
.ccspllmshead_text h1{
    margin-top: .5rem !important;
    text-align: left;
}
.ccspllmshead_logo img{
    /* height: 50px; */
    width: 5rem;
    margin-right: 15px;
    border-radius: 8px;
    border: 2px solid white;
}

.ccspllms_header p{
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}
.ccspllms_header h1{
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: whitesmoke;
}

.ccspllms_nav {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.ccspllms_nav_list {
    display: flex;
    list-style: none;
    margin-left: 1rem;
    padding: 0;
}

.ccspllms_nav_link {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.ccspllms_nav_link:hover,
.ccspllms_nav_link.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: white;
    font-weight: 600;
}

.ccspllms_content {
    padding: 30px;
}

.ccspllms_tab_content {
    display: none;
}

.ccspllms_tab_content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.ccspllms_card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.ccspllms_button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
}

.ccspllms_button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.ccspllms_toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.ccspllms_toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ccspllms_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.ccspllms_slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .ccspllms_slider {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

input:checked + .ccspllms_slider:before {
    transform: translateX(26px);
}

.ccspllms_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.ccspllms_table th,
.ccspllms_table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    
}

.ccspllms_table th {
    background: #f8f9fa;
    font-weight: 600;
}

.ccspllms_alert {
    position: fixed;
    right: 0;
    top: 3.5rem;
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid;
}

.ccspllms_alert.success {
    background: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.ccspllms_alert.error{
    background: #f8d7da;
    color: #721c24;
    border-left-color: #f5c6cb;
}

.ccspllms_alert.warning {
    background: #fff3cd;
    color: #856404;
    border-left-color: #ffeeba;
}

.ccspllms_stats_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.ccspllms_stat_card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
}
.ccspllms_stat_card h3 {
    margin: 0;
    /* font-size: 2rem; */
    color: whitesmoke;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .ccspllms_nav_list {
        flex-direction: column;
    }
    
    .ccspllms_content {
        padding: 20px;
    }
}

.generation-options label{
    display: inline-block;
    margin: 8px 8px 10px 0;
    font-weight: 600;
}




/* Content display edit modal */

/* Modal Overlay */
.ccspllms_modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.5);
    transition: opacity 0.2s;
}

/* Modal Content Box */
.ccspllms_modal_content {
    background: #fff;
    margin: 60px auto;
    padding: 0;
    border-radius: 8px;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    position: relative;
    animation: ccspllms_modal_in 0.2s;
}

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

/* Modal Header */
.ccspllms_modal_header {
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ccspllms_modal_header h3 {
    margin: 0;
    font-size: 1.2em;
}

.ccspllms_modal_close {
    cursor: pointer;
    font-size: 1.5em;
    color: #888;
    margin-left: 16px;
    transition: color 0.2s;
}

.ccspllms_modal_close:hover {
    color: #dc3545;
}

/* Modal Body */
.ccspllms_modal_body {
    padding: 20px 24px;
}

.ccspllms_modal_body textarea {
    width: 100%;
    font-size: 1em;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 8px;
    resize: vertical;
}

/* Modal Footer */
.ccspllms_modal_footer {
    padding: 16px 24px;
    border-top: 1px solid #eee;
    text-align: right;
}

.ccspllms_modal_footer .ccspllms_button {
    margin-left: 8px;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0 0 0;
    padding: 0;
    list-style: none;
    gap: 4px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 2px;
    border-radius: 4px;
    background: #f8f9fa;
    color: linear-gradient(135deg, #667eea, #764ba2);
    text-decoration: none;
    border: 1px solid #e2e2e2;
    font-size: 1em;
    transition: background 0.2s, color 0.2s;
}

.pagination a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-color: linear-gradient(135deg, #667eea, #764ba2);
}

.pagination .current {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-color: linear-gradient(135deg, #667eea, #764ba2);
    font-weight: bold;
    cursor: default;
}

.pagination .dots {
    background: none;
    border: none;
    color: #888;
    padding: 6px 10px;
}

.pagination .prev,
.pagination .next {
    font-weight: bold;
}