/**
 * Spa Management Plugin Styles
 */

/* Variables */
:root {
    --primary-color: #9F5D5D;
    --secondary-color: #554C53;
    --accent-color: #34905E;
    --success-color: #4CAF50;
    --text-color: #554C53;
    --heading-color: #554C53;
    --primary-font: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --accent-font: 'The Nautigal', cursive;
    --input-text-color: rgba(117, 109, 96, 1);
}

/* General Styles */
body.spa-page {
    font-size: 16px;
    font-family: var(--primary-font);
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background: rgba(246, 238, 238, 1);
}

body.spa-page.login {
    background-image: url('../images/bg-login.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.spa-page main#content {
    max-width: unset;
    padding: 0
}

.spa-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: var(--primary-font);
    color: var(--text-color);
}

.spa-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
}



.spa-card-title {
    color: var(--heading-color);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.spa-button {
    background-color: var(--primary-color);
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.spa-button:hover {
    background-color: #8a4f4f;
    color: white;
}

.spa-button-secondary {
    background-color: var(--secondary-color);
}

.spa-button-secondary:hover {
    background-color: #443c42;
}

.spa-button-accent {
    background-color: var(--accent-color);
}

.spa-button-accent:hover {
    background-color: #2c7b50;
}

.spa-form-group {
    margin-bottom: 25px;
}

.spa-form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--heading-color);
}

.spa-login-container input.spa-form-control {
    border: 1px solid #fff;
    border-radius: 4px;
    box-sizing: border-box;
    display: block;
    font-size: 16px;
    padding: 12px 16px;
    width: 100%;
    color: var(--input-text-color);
}

.spa-login-container input.spa-form-control::placeholder {
    color: var(--input-text-color);
}

.spa-form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(159, 93, 93, 0.2);
}

.spa-password-field {
    position: relative;
}

.spa-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-color);
}

.spa-login-container .spa-login-button {
    display: block;
    margin: 0 auto;
    background: rgba(175, 91, 102, 1);
    border-color: rgba(175, 91, 102, 1);
    color: #fff;
    padding: 10px 20px;
    line-height: 1;
    font-size: 16px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.spa-login-container .spa-login-button:hover {
    background: rgba(175, 91, 102, 1);
    opacity: 0.8;
}

.spa-login-footer {
    text-align: center;
    margin-top: 20px;
}

.spa-login-footer p {
    color: rgba(117, 109, 96, 1);
    font-size: 10px;
    margin: 0;
}

/* Login Page - Updated */
.spa-login-container {
    width: 680px;
    max-width: 100%;
    margin: 120px auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 40px;
    box-sizing: border-box;
}

.spa-login-logo {
    text-align: center;
    margin-bottom: 10px;
}

.spa-login-title {
    text-align: center;
    margin-bottom: 30px;
}

.spa-login-title h2 {
    margin: 0;
    margin-bottom: 15px;
}

.spa-login-title h2 .brand-name {
    color: var(--primary-color);
    font-family: var(--accent-font);
    font-size: 100px;
    font-weight: 400;
    display: block;
    line-height: 1;
}

.spa-login-title h2 .login-text {
    color: rgba(159, 93, 93, 1);
    font-family: var(--primary-font);
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-top: -20px;
}

.spa-login-title p {
    color: rgba(82, 62, 61, 1);
    font-size: 16px;
    margin: 0;
}

.spa-login-form {
    background: transparent;
    box-shadow: none;
    padding: 0;
    width: 350px;
    margin: 0 auto;
    max-width: 100%;
}

/* Dashboard */
.spa-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.spa-dashboard-welcome {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.spa-dashboard-date {
    color: var(--text-color);
    font-size: 14px;
}

.spa-quick-access {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.spa-quick-access-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    
    text-align: center;
    text-decoration: none;
    width: calc(25% - 15px);
}

.spa-quick-access-item:hover {
    background-color: #e9ecef;
}

.spa-quick-access-icon {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.spa-quick-access-label {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
}

/* Attendance & Schedule */
.spa-clock-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.spa-schedule-table {
    border-collapse: collapse;
    width: 100%;
}

.spa-schedule-table th,
.spa-schedule-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.spa-schedule-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--heading-color);
}

.spa-schedule-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.spa-coworkers {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.spa-coworker {
    align-items: center;
    display: flex;
    gap: 10px;
}

.spa-coworker-avatar {
    border-radius: 50%;
    height: 40px;
    width: 40px;
}

/* Appointments */
.spa-appointment-table {
    border-collapse: collapse;
    width: 100%;
}

.spa-appointment-table th,
.spa-appointment-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.spa-appointment-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--heading-color);
}

.spa-appointment-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.spa-payment-methods {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.spa-payment-method {
    align-items: center;
    display: flex;
    gap: 5px;
}

/* Profile */
.spa-profile-layout {
    display: grid;
    grid-template-columns: 345px 1fr;
    gap: 30px;
    margin-top: 20px;
}

.spa-profile-card {
  
    padding: 40px 20px;
    text-align: center;
    height: fit-content;
    max-width: 348px;
    position: relative;
}
.spa-profile-card:after {
    content: "";
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: -1;
}

.spa-profile-image-container {
    margin-bottom: 30px;
}

.spa-profile-image {
    width: 308px;
    height: 302px;
    border-radius: 20px;
    object-fit: cover;
    border: none;
    margin: 0 auto;
    display: block;
}

.spa-profile-name-section {
    text-align: center;
}

.spa-profile-name {
    font-size: 32px;
    font-weight: 700;
    color:rgba(85, 76, 83, 1);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.spa-profile-full-name {
    font-size: 16px;
    color:rgba(82, 62, 61, 1);
    margin: 0;
    font-weight: 400;
    line-height: 1.3;
}

.spa-profile-info-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.spa-profile-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.spa-profile-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    background: transparent;
    border-radius: 0;
    transition: none;
    border-bottom: 1px solid rgba(246, 238, 238, 1);
}

.spa-profile-info-item:hover {
    background: transparent;
    transform: none;
}

.spa-profile-info-item:nth-child(odd):nth-last-child(1),
.spa-profile-info-item:nth-child(even):nth-last-child(1),
.spa-profile-info-item:nth-child(odd):nth-last-child(2),
.spa-profile-info-item:nth-child(even):nth-last-child(2) {
    border-bottom: none;
}

.spa-profile-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(246, 238, 238, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0;
}

.spa-profile-info-icon svg {
    width: 28px;
    height: 28px;
    color: rgba(159, 93, 93, 1);
    stroke-width: 2;
}

.spa-profile-info-content {
    flex: 1;
    text-align: left;
}

.spa-profile-info-label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(85, 76, 83, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    opacity: 1;
    line-height: 1;
}

.spa-profile-info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.3;
    margin: 0;
}

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=The+Nautigal:wght@400;700&display=swap');

/* Dashboard Styles */
.spa-dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* Welcome Card */
.spa-welcome-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.spa-welcome-card h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 10px 0;
}

.spa-welcome-card p {
    color: rgba(85, 76, 83, 1);
    font-size: 14px;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.spa-welcome-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.spa-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spa-btn-primary {
    background: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 20px;
}

.spa-btn-primary:hover {
    background: #2c7b50;
    transform: translateY(-1px);
    color:#fff;
}

.spa-btn-secondary {
    background: rgba(85, 76, 83, 1);
    color: white;
    border-radius: 20px;
}

.spa-btn-secondary:hover {
    background: #443c42;
    transform: translateY(-1px);
    color:#fff;
}

.spa-btn-danger {
    background: var(--primary-color);
    color: white;
    width: max-content;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.spa-btn-danger:hover {
    background: #8a4f4f;
    transform: translateY(-1px);
}

/* Clock Card */
.spa-clock-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.spa-clock-card h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 20px 0;
}

.spa-clock-info {
    margin-bottom: 20px;
}

.spa-clock-detail {
    display: flex;
    margin-bottom: 8px;
    
}

.spa-clock-label {
    font-weight: 500;
    color: var(--heading-color);
    margin-right: 8px;
}

.spa-clock-value {
    color: rgba(85, 76, 83, 1);
}

.spa-clock-detail:last-child {
    margin-bottom: 0;
}

.spa-clock-status-text {
    color: rgba(135, 126, 125, 1);
}
.spa-clock-status-info {
    margin-bottom: 20px;
}

/* Quick Access Section - Updated to match UI */
.spa-quick-access-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.spa-quick-access-section h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 8px 0;
}

.spa-quick-access-section p {
    color: rgba(85, 76, 83, 1);
    font-size: 14px;
    margin: 0 0 20px 0;
}

.spa-quick-access-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.spa-quick-access-item {
    background: #f8f9fa;
    border-radius: 8px;
    
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 12px;
  padding:10px 20px;
    width: max-content;
    font-weight: 500;
}

.spa-quick-access-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.spa-quick-access-item i {
    font-size: 20px;
    color: var(--heading-color);
    flex-shrink: 0;
}

.spa-quick-access-item span {
    font-size: 14px;
    color: var(--heading-color);
    font-weight: 500;
    line-height: 1.4;
}

/* Icon styles for Quick Access */
.spa-icon-document::before {
    content: "📄";
}

.spa-icon-calendar::before {
    content: "📅";
}

.spa-icon-box::before {
    content: "📦";
}

/* Appointments Section */
.spa-appointments-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.spa-appointments-header {
    margin-bottom: 20px;
}

.spa-appointments-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 8px 0;
}

.spa-appointments-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.spa-appointment-date,
.spa-appointment-location {
    color: #666;
    font-weight: 500;
}

/* Appointments Table - Updated to match UI */
.spa-appointments-table-container {
    overflow-x: auto;
  
    overflow: hidden;
   
}

.spa-appointments-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: white;
}

.spa-appointments-table th {
    background: var(--primary-color);
    color: white;
    padding: 18px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}
.spa-table-body {
    padding: 8px 0;
}
.spa-appointments-table td {
    padding: 18px 20px;
    text-align: center;
    color: var(--text-color);
    border: none;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
}

.spa-appointments-table tbody tr {
    background: white;
    transition: background-color 0.2s ease;
}

.spa-appointments-table tbody tr:hover {
    background: #f8f9fa;
}

.spa-appointments-table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Footer Styles - Updated */
.spa-appointments-table tfoot tr {
    background: white;
}

.spa-appointments-table tfoot td {
    border: none;
    font-weight: 600;
    padding: 15px 20px;
    text-align: center;
}

.spa-total-row td {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    color: var(--text-color);
}

.spa-fee-row td {
    background: #f8f9fa;
    color: var(--text-color);
}

.spa-grand-total-row td {
    background: var(--primary-color);
    color: white;
    font-size: 16px;
    font-weight: 700;
}

.spa-total-label,
.spa-fee-label,
.spa-grand-total-label {
    text-align: right;
    padding-right: 30px;
}

.spa-total-value,
.spa-fee-value,
.spa-grand-total-value {
    text-align: center;
    font-weight: 700;
}

/* Alternative: Modern Card-based Table Layout */
.spa-table-modern {
    background: white;
   
    overflow: hidden;
   
}

.spa-table-header {
  color:#fff;
    display: grid;
    grid-template-columns: 80px 1fr 120px 150px 150px 150px 150px;
    padding: 0;
}
.spa-booking-table-container .spa-table-header, .spa-booking-table-container .spa-table-body .spa-table-row {
    grid-template-columns: 1fr 280px 120px 150px 150px;
}

.spa-table-header-cell {
    background: rgba(175, 91, 102, 1);
    padding: 18px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
  
    letter-spacing: 0.5px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 4px 0 0;
}
.spa-table-header-cell:last-child {
    margin-right: 0;
}
.spa-table-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 150px 150px 150px 150px;
    
    margin-bottom: 1px;
    transition: all 0.2s ease;
    margin-bottom: 8px;
}
input#actual-received-fee{
    border-color: #eee;
}
.spa-table-row:last-child {
    margin-bottom: 0;
}

.spa-table-cell {
    background: rgba(247, 247, 247, 1);
    padding: 18px 15px;
    text-align: center;
    color: var(--text-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    margin-right: 8px;  
}

.spa-table-cell.customer-info {  
    display: block;  
    text-align: left;  
    font-size: 14px;  
    font-weight: 500;
}
.spa-table-cell .customer-name {
    font-size: 18px;
    color: #554C53;
    font-weight: bold;
    margin-bottom: 5px;
}
.spa-table-cell.customer-info .if p {margin: 0;display: flex;}
.spa-table-cell.customer-info .if p .lb {
    min-width: 50px;
}

.spa-table-cell:last-child {
    margin-right: 0;
}




.spa-table-footer-row {
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 1px;
    margin-bottom: 1px;
}

.spa-table-footer-row:last-child {
    margin-bottom: 0;
}

.spa-table-footer-row.total .spa-table-footer-label,
.spa-table-footer-row.total .spa-table-footer-value {
    background: white;
}

.spa-table-footer-row.grand-total .spa-table-footer-label,
.spa-table-footer-row.grand-total .spa-table-footer-value {
    background: white;
    font-weight: 700;
}

.spa-table-footer-label {
    background: white;
    padding: 15px 20px;
    text-align: right;
    font-weight: 600;
    color: var(--text-color);
}

.spa-table-footer-value {
    background: white;
    padding: 15px 20px;
    text-align: center;
    font-weight: 700;
    color: var(--text-color);
}

/* Responsive Table */
@media (max-width: 768px) {
    .spa-table-header,
    .spa-table-row {
        grid-template-columns: 60px 1fr 100px 120px 120px 80px;
    }
    
    .spa-table-header-cell,
    .spa-table-cell {
        padding: 12px 8px;
        font-size: 12px;
    }
}

/* Icons */
.spa-icon-plus::before {
    content: "+";
    font-weight: bold;
}

.spa-icon-clock::before {
    content: "🕐";
}

.spa-icon-schedule::before {
    content: "📅";
}

.spa-icon-supply::before {
    content: "📦";
}

/* REQUEST PAGE STYLES - Completely rewritten to match UI */

/* Page Header */
.spa-page-header {
    margin-bottom: 30px;
}

.spa-page-title {
    font-size: 48px;
    font-weight: 700;
    color: rgba(85, 76, 83, 1);
    margin: 0 0 8px 0;
    line-height: 1;
}

.spa-page-subtitle {
    font-size: 16px;
    color: rgba(118, 112, 98, 1);
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

/* Request Cards Grid */
.spa-request-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    max-width: 1200px;
}

/* Request Card */
.spa-request-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.spa-request-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.spa-request-card-title {
    font-size: 24px;
    font-weight: 700;
    color: rgba(85, 76, 83, 1);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.spa-request-card-description {
   
    color: rgba(85, 76, 83, 1);
    margin: 0 0 24px 0;
    line-height: 1.6;
    flex-grow: 1;
}
.spa-request-card-description span {
    font-weight: bold;
    color: rgba(195, 137, 145, 1);
}
.spa-page .page-content a {
    text-decoration: none;
}
/* Success Button */
.spa-btn-success {
    background: rgba(52, 144, 94, 1);
    color: white;
    border: none;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    justify-content: center;
    width: max-content;
    margin-top: auto;
    border-radius: 20px;
}

.spa-btn-success:hover {
    background: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    color:#fff;
}

.spa-btn-icon {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

/* Modal Styles */
.spa-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.spa-modal-content {
    background-color: #fff;
    margin: 5% auto;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.spa-modal-large {
    max-width: 800px;
}

.spa-modal-header {
    padding: 32px 32px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.spa-modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--heading-color);
}

.spa-modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.spa-modal-close:hover {
    color: #000;
}

.spa-modal-body {
    padding: 0 32px 32px;
}

/* Form Styles */
.spa-form {
    max-width: 100%;
}

.spa-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.spa-form-group {
    display: flex;
    flex-direction: column;
}

.spa-form-group-full {
    grid-column: 1 / -1;
}

.spa-form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--heading-color);
    font-size: 14px;
}

.spa-form-group input,
.spa-form-group textarea,
.spa-form-group select {
    padding: 15px 16px!important;
    border: none!important;
    border-radius: 4px;
    font-size: 14px;
   
    transition: border-color 0.3s ease;
    background: rgba(242, 242, 242, 1)!important;
}

.spa-form-group input:focus,
.spa-form-group textarea:focus,
.spa-form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(159, 93, 93, 0.1);
}

.spa-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.spa-form-help {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
    font-style: italic;
}

.spa-form-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}


body.spa-page.staff-management {
    background: #fff;
}

a.spa-btn.spa-btn-primary.btn-manage-staff {
    padding: 5px 15px;
    font-size: 12px;
    background: rgba(175, 91, 102, 1);
    border-radius: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .spa-container {
        padding: 16px;
    }
    
    .spa-page-title {
        font-size: 32px;
    }
    
    .spa-request-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .spa-request-card {
        padding: 24px;
        min-height: auto;
    }
    
    .spa-request-card-title {
        font-size: 18px;
    }
    
    .spa-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .spa-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .spa-modal-header,
    .spa-modal-body {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .spa-form-actions {
        flex-direction: column;
    }
    
    .spa-form-actions .spa-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .spa-page-title {
        font-size: 28px;
    }
    
    .spa-request-card {
        padding: 20px;
    }
    
    .spa-request-card-title {
        font-size: 16px;
    }
    
    .spa-modal-header h3 {
        font-size: 20px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .spa-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .spa-welcome-actions {
        flex-direction: column;
    }

    .spa-quick-access-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .spa-appointments-meta {
        flex-direction: column;
        gap: 5px;
    }

    .spa-appointments-table {
        font-size: 12px;
    }

    .spa-appointments-table th,
    .spa-appointments-table td {
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    .spa-container {
        padding: 15px;
    }

    .spa-welcome-card,
    .spa-clock-card,
    .spa-quick-access-section,
    .spa-appointments-section {
        padding: 20px;
    }
}

/* Responsive Profile */
@media (max-width: 768px) {
    .spa-profile-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .spa-profile-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .spa-profile-card {
        padding: 20px;
        max-width: 100%;
    }
    .spa-profile-card:after {
        height: 70%;
    }
    
    .spa-profile-image {
        width: 120px;
        height: 120px;
    }
    
    .spa-profile-name {
        font-size: 20px;
    }
    
    .spa-profile-info-card {
        padding: 20px;
    }
    
    .spa-profile-info-item {
        padding: 15px;
    }
}