/* .kwd-form-container {
    max-width: 650px;
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} */

.kwd-content-container {
    /* max-width: 650px; */
    /* margin: auto; */
    padding: 30px 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* .kwd-max-width {
    max-width: 650px;
} */

.kwd-form-group {
    margin-bottom: 15px;
}

.kwd-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input,
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

input:disabled {
    background: #f0f0f0;
    cursor: not-allowed;
}

.kwd-submit-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}

.kwd-submit-btn:hover {
    background: #0056b3;
}

/* Error messages */
.kwd-error-messages {
    background: #ffebeb;
    color: #d9534f;
    padding: 1px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
}

/* Filter toggle aligned to the right */
.kwd-filter-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Toggle Switch */
.kwd-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.kwd-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.kwd-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 20px;
    transition: 0.3s;
}

.kwd-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

.kwd-switch input:checked+.kwd-slider {
    background-color: #007bff;
}

.kwd-switch input:checked+.kwd-slider:before {
    transform: translateX(20px);
}

/* Exclude & Followers in same row */
.kwd-form-row {
    display: flex;
    gap: 10px;
}

.kwd-wordfield-width {
    flex-grow: 1;
}

/* #kwd-followers-field { */
/* max-width: 120px; */
/* Fits 6-digit number */
/* } */

.kwd-slider-label {
    margin-right: 10px;
}

.kwd-filter-div {
    padding: 10px 5px;
    background-color: #f7f5f5;
    margin-bottom: 10px;
    border-radius: 5px;
}

.content-heading {
    text-align: center;
    border-bottom: 1px solid #ccc;
    font-size: 22px;
    font-weight: 500;
    padding: 0px 0 10px;
}

.data-space {
    margin-top: 20px;
    max-width: 700px;
    margin: 20px auto 0;
}

.content-notice {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
    /* color: green; */
    background-color: #d8fee3;
    border-radius: 3px;
    margin-bottom: 10px;
}

.content-alert {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
    /* color: green; */
    background-color: #ff7373;
    border-radius: 3px;
    margin-bottom: 10px;
}

.show-keyword-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    padding-bottom: 15px;
    /* background: #fff;
    border-radius: 6px; */
    /* margin-bottom: 8px; */
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease; */
}

/* .show-keyword-row:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
} */

.show-keyword-name {
    flex-grow: 1;
    margin-right: 16px;
    font-size: 18px;
}

.show-keyword-word {
    font-size: 21px;
    padding-left: 5px;
    /* font-family: "Trebuchet MS", sans-serif; */
    font-family: Verdana, sans-serif;
    color: #222222;
    font-weight: 500;
}

.show-keyword-actions {
    display: flex;
    gap: 18px;
    align-items: center;
}

.show-action-link,
.show-delete-button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.show-action-link:hover,
.show-delete-button:hover {
    opacity: 1;
}

.show-action-icon {
    width: 26px;
    height: 26px;
}

.show-kwcard-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* width: 100%; */
}

.show-leftcard-column {
    flex: 1;
    text-align: left;
}

.show-rightcard-column {
    flex: 1;
    text-align: right;
}

.show-centrecard-column {
    flex: 1;
    text-align: center;
}

.show-filter-div {
    padding: 10px 10px;
    border-radius: 5px;
    background-color: #f7f5f5;
}

.show-playlists-data {
    padding-top: 15px;
}

.show-card-labels {
    /* border-bottom: solid 1px #ccc; */
    margin-bottom: 8px;
    text-decoration: underline;
    text-decoration-color: #ccc;
    font-weight: 500;
    font-size: 17px;
}

.show-exclude-value {
    padding: 2px 6px;
    /* background-color: #ebc159; */
    border-radius: 10px;
    background: #ffc107;
    margin-right: 4px;
    display: inline-block;
    margin-bottom: 2px;
    /* Light yellow warning background */
    /* border: 1px solid #987d2c; */
}

.show-card-update-time {
    color: #222222;
    font-size: 15px;
    font-weight: 600;
}

.show-card-followers {
    font-weight: 600;
}

.new-playlist-count {
    color: #039737;
    font-weight: 700;
}

.fix-new-alignment {
    padding-left: 45px;
}

.total-playlist-count {
    color: #2668eb;
    font-weight: 700;
}

.kwd-list-ul {
    list-style: none;
    padding: 0;
}

.kwd-list-item {
    display: flex;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    transition: transform 0.2s ease-in-out;
    padding: 10px 25px;
    gap: 10px;
    margin-bottom: 5px;
    align-items: center;
    /* justify-content: center; */
}

.playlist-list-item {
    /* display: flex; */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* border: 2px solid #1db954; */
    border: 1px solid #6bf9b2;
    /* transition: transform 0.2s ease-in-out; */
    padding: 15px 25px;
    /* gap: 10px; */
    margin-bottom: 5px;
    transition: box-shadow 0.3s ease-in-out;
    /* align-items: center; */
    /* justify-content: center; */
}

.playlist-list-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Adds a slight lift effect */
}

.playlist-details-div {
    padding: 12px 0 5px;
    display: flex;
    align-items: center;
    width: 100%;
}

.playlist-details-div a {
    text-decoration: none;
    color: #cd03c0;
}

.playlist-email-div a {
    word-wrap: break-word;
}

.playlist-contact-div {
    text-align: left;
    width: 48%;
    /* display: flex;
    flex-direction: column;
    justify-content: space-between; */
    /* align-items: center; */
}

.playlist-followers-div {
    text-align: center;
    width: 20%;
}

.playlist-found-div {
    text-align: right;
    width: 32%;
}

.kwd-list-item:hover {
    transform: translateY(-1px);
    /* Subtle hover effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.kwd-list-word {
    width: 35%;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    font-family: Verdana, sans-serif;
}

.playlist-link {
    font-family: Verdana, sans-serif;
    font-size: 18px;
}

.kwd-list-word a,
.playlist-link a {
    text-decoration: none;
    color: #222222;
}

.kwd-list-update-time {
    width: 25%;
    text-align: right;
    font-size: 15px;
    color: #3A3A3A
}

.kwd-list-counts {
    width: 14%;
    /* text-align: center; */
    display: flex;
    /* /* align-items: center; */
    justify-content: center;
}

.playlist-details-label {
    text-decoration: underline;
    margin-bottom: 5px;

}

.playlist-header-div {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.read_playlist {
    background-color: #F0F0F0;
}

.playlist-btn-div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 25px;
    background-color: #F0F0F0;
    align-items: center;
    margin-bottom: 5px;
    border-radius: 5px;
    /* border: 1px solid #5b5959; */
}

.link-to-playlists {
    text-decoration: none;
    color: #222222;
    width: auto;
    padding: 8px;
    border: 1px solid #a5a4a4;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #dabeb1;
}

.link-to-download-csv {
    text-decoration: none;
    color: #222222;
    width: auto;
    padding: 8px;
    border: 1px solid #a5a4a4;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #a6aee6;
}

.link-to-download-csv:hover {
    background-color: #949bcf;
}

/* .link-to-playlists-div,
.link-download-csv-div,
.btn-to-mark-read {
    flex: 1;
} */

.link-download-csv-div {
    display: flex;
    /* justify-content: flex-end; */
}

.mark-read-submit {
    margin-left: auto;
    width: auto;
    display: flex;
    justify-content: flex-end;
}

.link-to-playlists-div {
    justify-content: center;
    display: flex;
    /* Enables flexbox inside .box */
    /* justify-content: center; */
    /* Centers horizontally */
    /* align-items: center; */
    /* Centers vertically */
    text-align: center;
    /* width: auto; */
}

.link-to-playlists:hover {
    background-color: #c9b8a1;
}

.cursor-on-hover {
    cursor: pointer;
}

.kwd-subheading {
    font-size: 18px;
    font-weight: 500;
    /* margin-bottom: 10px; */
    text-align: center;
    /* margin-top: 10px; */
    text-decoration: underline;
    color: #275f23;
    /* margin: 0 auto; */
}

.sub-sort-container {
    display: flex;
    align-items: center;
    /* Vertically center */
    justify-content: space-between;
    padding: 5px 25px 20px;
    /* gap: 10px;
    align-items: center;
    margin-top: 20px; */
}

.show-kwd-btn-grey {
    text-decoration: none;
    color: #222222;
    width: auto;
    padding: 8px;
    border: 1px solid #a5a4a4;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #c3caca;
}

.sortby-button {
    display: flex;
    justify-content: flex-end;
}

.sub-sort-container div {
    /* flex: 1; */
}

.kwd-in-playlist {
    /* width: 100%; */
    background-color: #e8e5fc;
    display: inline-block;
    font-size: 14px;
    padding: 2px 5px;
    margin-top: 12px;
    border-radius: 3px;
    /* border: 1px solid #a5a4a4; */
}

/* Search Form */
.search-form {
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: center;
    /* Ensures vertical alignment */
    justify-content: flex-end;
    /* Aligns the search button to the right */
    /* margin-top: 20px; */
}

.search-input {
    width: 280px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease-in-out;
}

.search-input:focus {
    border-color: #a7fbaa;
    outline: none;
}

/* Search Button */
.search-button {
    background-color: #555655;
    color: white;
    padding: 7px 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    width: auto;
    /* height: 100%; */
}

.search-button:hover {
    background-color: #363232;
}

.read-green-btn {
    background-color: #7abc7d;
}

.note {
    padding: 10px 15px;
    background-color: bisque;
    border-radius: 5px;
    font-size: 14px;
}

.note .note-header {
    color: red;
    font-size: 15px;
}

.submit-csv-btn {
    background-color: #007bff;
    font-size: 16px;
    /* width: auto; */
}

.submit-csv-btn:hover {
    background-color: #0056b3;
}

.kwd-status-Error {
    background-color: #ff7373;
}

.kwd-status-Running {
    background-color: #d49a4e;
}

.kwd-status-all {
    margin-left: 10px;
    padding: 2px 5px;
    font-size: 12px;
    border-radius: 4px;
    vertical-align: 4px;
    font-weight: 800;
}

.kwd-filter-container.active-kwd-container {
    margin-bottom: 0;
}

.inactive-kwd {
    background-color: #e8dada;
}

.kwds-active-div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kwds-select-active {
    min-width: 100px;
    /* background-color: #363232; */
}

.kwds-label-active {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 600;
}

.master-form-div {
    padding: 10px 0;
}

.master-form-div label {
    font-size: 16px;
    font-weight: 500;
}

.master-tag {
    font-weight: 400;
}

.kwd-count-bar {
    width: auto;
    border-right: #222222 solid 1px;
}

.show-cless-div {
    display: flex;
    align-items: center;
    /* vertically center both parts */
    gap: 8px;
    justify-content: center;
    padding: 15px 0 6px;
}

.show-cless-min-value {
    font-weight: 600;
}

.show-cless-min-label {
    font-size: 17px;
}

.kwd-cless-fields {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-end;
}

.kwd-priority-div {
    display: flex;
    text-align: right;
    justify-content: flex-end;

}

.kwd-cless-init-fol {
    flex-grow: 0.95;
}

#loading-playlists {
    padding-bottom: 15px;

}

.kwd-priority-val {
    font-weight: 600;
}

.master-form-div-cless {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 0;

}