

.event-listing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 2px solid #333;
  background-color: #f5f5f5;
}

.event-listing-header .tab-sec {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-around;
  align-items: center;
  gap: 5px;
}

.main-event-listing #event-search-form {
  display: block !important;
}

.filters {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  align-items: center;
  flex-wrap: nowrap; 
  overflow-x: auto;   
}

.client-filter,
.search-input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  background-color: #fff;
  color: #333;
  max-width: 500px !important;
}

.search-input {
  width: 100%;
  max-width: 260px;
}

.sjl-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}
.browse-ev .events-content h2,
.browse-ev .events-content h3,
.browse-ev .events-content h4 {
    float: none;
	margin: 5px 0;
}
.browse-ev .events-content h3 {
	font-size: 14px;
}
.browse-ev .event-day-list {
	padding: 5px 0;
}
.browse-ev span.event-day-tag {
    margin-top: 0;
    margin-bottom: 5px;
}
@media screen and (max-width: 800px) {
  .filters {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    align-items: center;
    flex-wrap: wrap;
    overflow-x: auto;
    flex-direction: row;
    align-content: center;
    justify-content: center;
}
}




.btn-primary,
.btn-secondary,
.btn-cancel {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
}

.btn-primary {
  background-color: #0073e6;
  color: #ffffff;
}
.btn-primary:hover {
  background-color: #005bb5;
}

.btn-secondary,
.btn-cancel {
  background-color: #8a8d93;
  color: #ffffff;
}
.btn-secondary:hover,
.btn-cancel:hover {
  background-color: #70757f;
}

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.filters a:hover {
  text-decoration: none;
  color: #fff;
}

.event-tab {
  border: 1px solid #333;
  background: #fff;
  color: #000;
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  margin-right: 10px;
  width: 175px;
  text-align: center;
}
.event-tab.active,
.event-tab:hover {
  background-color: #333;
  color: #ffffff;
  transition: 0.5s;
}

.event-filter-pill {
  background-color: #5f6368;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}
.event-filter-pill:focus {
  box-shadow: 0 0 0 2px #0073e6;
}
.event-filter-pill.active,
.event-filter-pill:hover {
  background-color: #0073e6;
  color: #fff;
}
.event-filter-pill {
  padding: 10px 15px;
  background-color: #f1f1f1;
  border-radius: 5px;
  margin-right: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.search-box {
  flex: 1 1 260px;
}
.search-box input {
  padding: 10px;
  width: 100%;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #ffffff;
  color: #333;
  font-size: 14px;
}

.event-card {
  background-color: #ffffff;
  border-left: 5px solid #333;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.model-confirmed {
  border-left: 5px solid #27ae60;
}
.model-canceled {
  border-left: 5px solid #e74c3c;
}

.model-applied {
  border-left: 5px solid #2980b9 !important;
}

.event-info {
  max-width: 65%;
}

.model-card {
  display: flex !important;
}

.model-card img {
  max-height: 120px;
  width: 100px;
}

.event-title {
  font-size: 20px;
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
}

.event-date,
.event-location {
  font-size: 15px;
  color: #555555;
  margin-bottom: 4px;
}

.posted-tag {
  font-size: 12px;
  background-color: #333;
  color: #f5f5f5;
  padding: 4px 10px;
  border-radius: 16px;
  display: inline-block;
}

.event-action-dropdown {
  position: relative;
  display: inline-flex;
  margin-bottom: 10px;
}

.assign-main-btn {
  border-radius: 6px 0 0 6px;
  padding: 10px 16px;
  font-size: 14px;
  text-decoration: none;
}

.assign-arrow-btn {
  border-radius: 0 6px 6px 0;
  border-left: 1px solid rgba(255,255,255,0.4);
  padding: 10px 12px;
  font-size: 14px;
  cursor: pointer;
}

.event-action-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  list-style: none;
  margin: 4px 0 0;
  min-width: 165px;
  z-index: 999;
}

.event-action-menu.open {
  display: block;
}

.event-action-menu li {
  list-style-type: none !important;
  margin-left: 0 !important;
}

.event-action-menu li a {
  display: block;
  padding: 7px 18px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  text-align: left;
  white-space: nowrap;
}

.event-action-menu li a:hover {
  background: #f5f5f5;
  color: #333;
}

.event-action-menu li a.delete-event-link {
  color: #e74c3c;
}

.event-action-menu li a.delete-event-link:hover {
  color: #e74c3c;
}

.shift-info {
  text-align: right;
}
.shift-info p {
  margin: 10px 0;
  font-size: 14px;
  color: #555555;
}

.status-badge {
  font-size: 12px;
  background-color: #27ae60;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 16px;
  margin-bottom: 6px;
  display: inline-block;
}

.action-btn {
  padding: 8px 14px;
  background-color: #6bd5f1;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.action-btn:hover {
  background-color: #64c9ea;
}

.page-numbers,
.page-numbers span {
  color: #337ab7;
  font-weight: 500;
  font-size: 14px;
  margin: 0 5px;
  cursor: pointer;
}
.page-numbers:active {
  color: #337ab7;
  border: 3px solid black;
  border-radius: 5px;
}

.current {
  font-weight: bolder;
}

.event-link {
  color: #333;
}

.model-cancel-btn {
  background-color: #f3f0f0;
  color: #6bd5f1;
}
.model-cancel-btn:hover {
  background-color: #dddbdb;
}

.model-reject-btn {
  background-color: #ffffff;
  color: #e74c3c;
}

.model-shift {
  display: flex;
  text-align: right;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 5px;
}

.recap-btn {
  background: #333;
  color: #fff;
}
.recap-btn:hover {
  background: #151515;
}

.recap {
  display: flex;
  justify-content: space-between;
}

.recap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 6px;
}
.recap strong {
  width: 50%;
}
.recap span {
  width: 50%;
  text-align: right;
}
.user-image{
  margin-right: 10px;
}
.confirmed-status .fa {
  color: #27ae60;
}
.rejected-status .fa {
  color: #e74c3c;
}
.model-info span {
  margin-top: 5px;
  display: inline-block;
}
.filter-btn {
    float: right;
    font-size: 25px;
    padding: 5px 15px;
    background: none;
    border: 1px solid #23527c;
    color: #23527c;
	display: none;
}
.filter-btn:hover, .filter-btn:active,.filter-btn:focus {
	background: none;
    border: 1px solid #23527c;
    color: #23527c;
}
.modal-shadow{
	display: none;
}
.event-selection-flow {
  text-align: center;
  padding: 60px 20px;
}
.card-screen-selection {
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hidden {
  display: none;
}
.event-selection-flow .card-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}
.zone-card, .type-card {
  padding: 40px 60px;
  background: #0073aa;
  color: #fff;
  font-size: 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}
.zone-card:hover, .type-card:hover {
  background: #005f87;
  transform: scale(1.05);
}
.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.loader-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #0073aa; /* WP blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 
@media screen and (max-width: 1023px) {
	.browse-ev .site-inner {
		position: relative;
	}
	.browse-ev .sidebar-primary {
		position: absolute;
		top: 200px;
		width: 300px;
		right: 30px;
		display: none;
	}
	.filter-btn {
		display: block;
	}
	
} */

/* Create Event form style */
/* ── Form wrapper ── */
#create-event-form {
    padding: 20px 0;
    clear: both;
}

/* ── Sections ── */
.ce-section {
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 24px 24px 8px;
    margin-bottom: 24px;
    float: left;
    width: 100%;
    box-sizing: border-box;
    clear: both;
}
.ce-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    clear: both;
}
.ce-schedule-section {
    background: linear-gradient(180deg, #fbfcff 0%, #f4f7fb 100%);
    border-color: #cfd8e3;
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.06);
}
.ce-schedule-section .ce-section-title {
    color: #15314b;
    border-bottom-color: #d8e1ec;
    position: relative;
    padding-left: 18px;
}
.ce-schedule-section .ce-section-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 10px;
    width: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, #1f78b4 0%, #59b7e8 100%);
}

/* ── Form groups ── */
#create-event-form .form-group {
    margin-bottom: 20px;
    float: left;
    width: 100%;
    clear: both;
}
#create-event-form label {
    display: block;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
}

/* ── Inputs, select, textarea ── */
#create-event-form input[type="text"],
#create-event-form input[type="number"],
#create-event-form select,
#create-event-form textarea {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    box-shadow: 1px 1px 3px #eee inset;
    color: #222;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
    margin: 0;
}
#create-event-form input[type="text"]:focus,
#create-event-form input[type="number"]:focus,
#create-event-form select:focus,
#create-event-form textarea:focus {
    border: 1px solid #999;
    outline: none;
}
#create-event-form input[type="text"]::-webkit-input-placeholder,
#create-event-form textarea::-webkit-input-placeholder { color: #999; }
#create-event-form input[type="text"]::-moz-placeholder,
#create-event-form textarea::-moz-placeholder { color: #999; opacity: 1; }

/* ── Radio / checkbox ── */
.ce-radio-group { margin-top: 4px; }
#create-event-form .radio-inline {
    display: inline-block;
    font-weight: normal;
    margin-right: 20px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}
#create-event-form input[type="radio"],
#create-event-form input[type="checkbox"] {
    width: auto;
    box-shadow: none;
    border: none;
    background: none;
    padding: 0;
    margin-right: 6px;
    vertical-align: middle;
}
#create-event-form .ce-checkbox-label {
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Side-by-side date/time ── */
.ce-half-row {
    display: flex;
    gap: 20px;
}
.ce-half { flex: 1; }
.ce-half label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
}

/* ── input-group (datepicker) ── */
#create-event-form .input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid #d6dde6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
}
#create-event-form .input-group input[type="text"] {
    flex: 1;
    border-right: none;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding-right: 12px;
}
#create-event-form .input-group .input-group-addon {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    border: 0;
    border-left: 1px solid #d6dde6;
    padding: 0;
    width: 40px;
    /* min-width: 54px; */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1d4f7a;
    transition: background-color 0.2s ease, color 0.2s ease;
}
#create-event-form .input-group .input-group-addon:hover {
    background: linear-gradient(180deg, #eef6ff 0%, #dceeff 100%);
    color: #0b6db3;
}
#create-event-form .input-group .input-group-addon .glyphicon {
    font-size: 16px;
}
#create-event-form .bootstrap-datetimepicker-widget {
    z-index: 9999 !important;
}

/* ── Shift / Staff repeater rows ── */
.ce-shift-row,
.ce-staff-row {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 4px;
}
.ce-schedule-section .ce-half {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #dce5ef;
    border-radius: 14px;
    padding: 16px 16px 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.ce-schedule-section #event-shifts-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}
.ce-schedule-section .ce-shift-row {
    background: #ffffff;
    border: 1px solid #d9e3ee;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}
.ce-shift-fields,
.ce-staff-fields {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.ce-shift-col,
.ce-staff-col {
    flex: 1;
    min-width: 120px;
}
.ce-shift-col label,
.ce-staff-col label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 4px;
    color: #333;
}
.ce-btn-col {
    flex: 0 0 auto;
    min-width: auto;
}
.ce-schedule-section .ce-btn-col {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.ce-remove-shift,
.ce-remove-staff {
    padding: 8px 12px;
    border-radius: 3px;
}
.ce-schedule-section .ce-remove-shift {
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1px;
}
.ce-schedule-section .ce-add-btn {
    margin-top: 14px;
    padding: 11px 18px;
    border-radius: 10px;
    background: #1f2937;
}
.ce-schedule-section .ce-add-btn:hover {
    background: #111827;
}

/* ── Add row button ── */
.ce-add-btn {
    background-color: #8a8d93;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 4px;
    transition: background-color 0.1s ease-in-out;
}
.ce-add-btn:hover { background-color: #70757f; }

/* ── Submit button ── */
#create-event-form button[type="submit"] {
    background-color: #64c9ea;
    border: none;
    border-radius: 5px;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    padding: 16px 30px;
    width: auto;
    transition: background-color 0.1s ease-in-out;
}
#create-event-form button[type="submit"]:hover { background-color: #6bd5f1; }

/* ── Map ── */
#ce-map {
    width: 100%;
    height: 380px;
    margin-top: 10px;
    border: 1px solid #ddd;
    box-shadow: 1px 1px 3px #eee inset;
}

@media (max-width: 640px) {
    .ce-half-row { flex-direction: column; gap: 10px; }
    .ce-shift-fields,
    .ce-staff-fields { flex-direction: column; }
    .ce-section { padding: 16px 14px 4px; }
    .ce-schedule-section .ce-half,
    .ce-schedule-section .ce-shift-row {
        padding: 14px;
    }
    .ce-schedule-section .ce-btn-col {
        width: 100%;
        align-self: auto;
    }
    .ce-schedule-section .ce-remove-shift {
        width: 100%;
    }
}

/* Custom delete button in staff list */
/* .staff-content {
	position: relative;
	display: flex;
  flex-direction: column;
} */

.staff-thumbnail img {
	width: 170px;
	height: 170px;
	border-radius: 5px;
}

.entry-content h3 {
	margin: 0 0 5px;
	font-size: 26px;
	line-height: 1.2;
}

.entry-content h4 {
	margin: 0 0 8px;
	font-size: 19px;
	line-height: 1.4;
	font-weight: 500;
}

.staff-action-row {
    margin-top: 12px;
}

.staff-delete-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #fff5f5;
    color: #d93025 !important;
    border: 1px solid #f0b5b5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.staff-delete-icon:hover {
    background: #d93025;
    color: #fff !important;
    border-color: #d93025;
    text-decoration: none;
}