/* =====================================================
   Center the Login Form on the Page (Bootstrap Container)
===================================================== */

/* Make parent wrapper fill the viewport height */
.login-form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    
}

/* Adjust if your header/footer are fixed */
body.admin-bar .dashbrd-main-wpr {
    min-height: calc(100vh - 32px);
}
/* =====================================================
   Custom Login Form Styles
===================================================== */

.custom-login-container {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    text-align: left;
}

/* Title */
.custom-login-container .login-title, .register-form-container .login-title {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    color: #222;
    margin-bottom: 30px;
}

/* =====================================================
   Input Fields
===================================================== */

.custom-login-container .form-group {
    margin-bottom: 20px;
}

.custom-login-container input[type="text"],
.custom-login-container input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.custom-login-container input[type="text"]:focus,
.custom-login-container input[type="password"]:focus {
    border-color: #007bff;
    background-color: #fff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.25);
    outline: none;
}

/* Remember Me */
.remember-me label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

/* =====================================================
   Login Button
===================================================== */

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #007bff; /* Bootstrap primary color */
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* =====================================================
   Links under the form
===================================================== */

.login-links {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.login-links a {
    color: #007bff;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

/* =========================================
   Registration Form Styling
========================================= */

/* .register-form-container {
  max-width: 850px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px 50px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
} */

.register-form-container h2 {
  color: #1e2a38;
}

.form-section {
  border-bottom: 1px solid #eee;
  padding-bottom: 25px;
}

.form-section-title {
  font-size: 1.1rem;
  color: #007bff;
  border-left: 4px solid #007bff;
  padding-left: 10px;
  font-weight: 600;
}

.form-control,
.form-select {
  border-radius: 8px !important;
  border: 1px solid #d5dbe0 !important;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus,
.form-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-check-label {
  font-weight: 500;
  color: #333;
}
.form-footer p {
    margin-top: 15px;
    font-size: 15px;
    color: #555;
}

.form-footer a.login-link {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
}

.form-footer a.login-link:hover {
    text-decoration: underline;
}

.btn-primary {
  background: #007bff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

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

input.error {
    border-color: #dc3545 !important;
}
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    display: block;
    margin-top: 3px;
}

/* ===========================
   Lost Password Page Styling
   =========================== */

.custom-auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    background: #f8f9fa;
    padding: 40px 15px;
}

.auth-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 450px;
    width: 100%;
    padding: 40px 35px;
}

.auth-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    color: #222;
}

.auth-subtitle {
    text-align: center;
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
}

.lost-password-wrapper .form-group {
    margin-bottom: 20px;
}

.lost-password-wrapper label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.lost-password-wrapper .woocommerce-Input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.lost-password-wrapper .woocommerce-Input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
    outline: none;
}

.login-btn {
    width: 100%;
    background: #007bff;
    color: #fff;
    border: none;
    padding: 12px 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s ease;
}

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

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

.auth-footer .login-link {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
}

.auth-footer .login-link:hover {
    text-decoration: underline;
}

/* WooCommerce notice alignment */
.woocommerce-notices-wrapper {
    margin-bottom: 15px;
}


.accordion__item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}

.accordion__header {
    background: #f7f7f7;
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion__content {
    display: none;
    padding: 16px;
    background: #fff;
}

.accordion__item.active .accordion__content {
    display: block;
}

.accordion__toggle {
    font-size: 20px;
    line-height: 1;
}

/*=================================================================================*/

/* ================================
   BUSINESS DASHBOARD – SCHEDULE PAGE
================================ */

/* Calendar wrapper */
.schedule-wpr {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    margin-top: 25px;
}

/* FullCalendar base styling override */
#calendar {
    max-width: 100%;
    margin: 0 auto;
}

.fc .fc-toolbar-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.fc .fc-button-primary {
    background: #036ce9 !important;
    border-color: #036ce9 !important;
    text-transform: capitalize;
    border-radius: 6px;
}

.fc .fc-button-primary:hover {
    background: #005aca !important;
}

/* .fc .fc-daygrid-day-top {
    justify-content: center;
} */
/* Change calendar date (day number) color */
.fc .fc-daygrid-day-number {
    color: #000 !important;
}


/* Make events rounded */
.fc-event {
    border-radius: 6px;
    padding: 2px 5px;
    font-size: 13px;
    font-weight: 500;
}

/* ================================
   LEGEND STYLING
================================ */
.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    margin-top: 25px;
    gap: 12px;
}

.calendar-legend .legend {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    color: #ffffff;
}

/* Legend Colors */
.calendar-legend .past {
    background: #9e9e9e;
}

.calendar-legend .upcoming {
    background: #0d6efd;
}

.calendar-legend .current {
    background: #28a745;
}

.calendar-legend .filled {
    background: #1F4220;
}

.calendar-legend .unfilled {
    background: #d9534f;
}

.calendar-legend .pending {
    background: #f0ad4e;
    color: #000;
}
.calendar-add-btn-mini {
	position: absolute;
	bottom: 6px;
	right: 6px;
	/* background: #0d6efd; */
	color: #000;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	font-size: 27px;
	line-height: 20px;
	text-align: center;
	cursor: pointer;
	z-index: 10;
	/* box-shadow: 0 0 4px rgba(0,0,0,0.2); */
}

.calendar-add-btn-mini:hover {
    background: #0959c7;
    color: #fff;
}

.shift-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shift-popup-wrapper {
    background: #fff;
    padding: 25px;
    width: 350px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.shift-popup h3 {
    margin-top: 0;
}

.close-shift-popup {
    margin-top: 10px;
    padding: 8px 15px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.shift-status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    margin-bottom: 2px;
}


.post-shift-step-panel input[disabled],
.post-shift-step-panel select[disabled],
.post-shift-step-panel textarea[disabled] {
    background: #f3f3f3 !important;
    pointer-events: none;
    opacity: 0.7;
}


/* ================================
   LOGIN THEME COLOR CHANGE 26/11/2025
================================ */
.login-form-container .login-btn, .register-form-container .login-btn{  
    background-color: var(--primaryColor);
    color: var(--blackcolor);
}
.login-form-container .login-btn:hover, .register-form-container .login-btn:hover{
    background-color: var(--blackcolor);
    color: #fff;
}
.login-form-container .login-links a{
    color: var(--primaryColor);
}
.login-form-container .login-links a:hover{
    color: var(--blackcolor);
}
.register-form-container .form-section-title{
    color: var(--primaryColor) !important;
    border-color: var(--primaryColor);
}
.register-form-container a, .register-form-container .form-footer a.login-link, .auth-footer .login-link{color: var(--primaryColor);}
.register-form-container a:hover, .register-form-container .form-footer a.login-link:hover, .auth-footer .login-link:hover{color: var(--blackcolor);}
.register-form-container .form-check-input:checked {
    background-color: var(--primaryColor);
    border-color: var(--primaryColor);
}
.register-form-container [type="checkbox"]{accent-color: var(--primaryColor);}
#login-message {
    font-size: 15px;
}

.calendar-legend .legend.filled, .calendar-legend .legend.unfilled{
    color: #000;
    background-color: transparent;
    position: relative;
    padding-left: 20px;
}
 
.calendar-legend .legend.filled::before, .calendar-legend .legend.unfilled::before{
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 13px;
    height: 13px;
    border-radius: 100%;
    background: #fff;
}
 
.calendar-legend .legend.filled::before{ background: #1F4220; }
.calendar-legend .legend.unfilled::before{ background: #d9534f; }
.fc .fc-button-primary{
    background: transparent !important;
    border-color: var(--blackcolor) !important;
    color: var(--blackcolor);
    border-radius: 100%;
    width: 40px;
    height: 40px;
    box-shadow: none !important;
    outline: none !important;
    margin: 10px;
    padding: 0;
}

.fc .fc-button-primary:hover{
    background-color: var(--primaryColor) !important;
    border-color: var(--primaryColor) !important;
    color: var(--blackcolor);
}
.fc .fc-toolbar.fc-header-toolbar{
    width: 300px;
    margin: 0 auto 30px;
}
.fc .fc-col-header-cell-cushion{color: var(--primaryColor);}
.fc .fc-daygrid-day.fc-day-today {
    background-color: rgb(255 238 242);
}


.staff-suggestions {
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    z-index: 999;
    display: none;
}

.staff-suggestions div {
    padding: 10px;
    cursor: pointer;
}

.staff-suggestions div:hover {
    background: #f5f5f5;
}

/* ================================
   RESPONSIVE FIXES
================================ */
@media (max-width: 768px) {

    .schedule-wpr {
        padding: 15px;
    }

    .calendar-legend {
        flex-direction: column;
        align-items: flex-start;
    }

    .calendar-legend .legend {
        width: 100%;
        text-align: left;
    }
}

/*=================================================================================*/




/* =====================================================
   Responsive Adjustments
===================================================== */

@media (max-width: 576px) {
    .custom-login-container {
        padding: 25px 20px;
    }

    .login-links {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .register-form-container {
        padding: 25px;
    }
    .form-section-title {
        font-size: 1rem;
    }
}
