.khattam-admin-container {
    display: flex;
    margin-top: 20px;
}
.khattam-form {
    flex: 2;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.khattam-sidebar {
    flex: 1;
    margin-left: 20px;
    margin-right: 20px;
}
.khattam-widget {
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.khattam-widget h3 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.form-table th {
    width: 200px;
}
.khattam-logo-preview {
    max-width: 200px;
    max-height: 200px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}
input:checked + .slider {
    background-color: #2196F3;
}
input:checked + .slider:before {
    transform: translateX(26px);
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
.khattam-range {
    width: 200px;
    vertical-align: middle;
}
.khattam-range-value {
    display: inline-block;
    width: 40px;
    text-align: center;
    margin-left: 10px;
}
.progress-bar-container {
    height: 20px;
    background: #f0f0f0;
    margin: 10px 0;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #0073aa;
    transition: width 0.3s;
}

.operation-controls {
    margin-top: 10px;
    text-align: center;
}

#khattam-bulk-progress {
    position: relative;
    padding: 10px;
}

.khattam-cleanup-modal {
    min-width: 500px;
    border-radius: 3px;
    padding: 25px;
}

.khattam-cleanup-modal h3 {
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.progress-container {
    margin: 15px 0;
}

.cancel-cleanup {
    margin-top: 15px;
}

.button-danger {
    background: #dc3232;
    border-color: #dc3232;
    color: #fff;
}

.button-danger:hover {
    background: #a00;
    border-color: #a00;
    color: #fff;
}

/* Tabs styling */
.nav-tab-wrapper {
    margin: 20px 0 25px;
    padding-bottom: 0;
    border-bottom: 1px solid #ccc;
}

.nav-tab {
    border: 1px solid #ccc;
    border-bottom: none;
    background: #f5f5f5;
    color: #555;
    margin: 0 5px -1px 0;
    padding: 10px 20px;
    border-radius: 4px 4px 0 0;
    text-decoration: none;
}

.nav-tab.nav-tab-active {
    background: #fff;
    border-bottom: 1px solid #fff;
    color: #000;
}

.nav-tab:focus {
    box-shadow: none;
    outline: none;
}

/* Adjust form layout for cleanup tab */
.khattam-form.cleanup-tab {
    max-width: 600px;
    margin-top: 20px;
}