/* --- PUBLIC WEBSITE STYLES --- */
body {
    font-family: 'Inter', sans-serif;
}

/* Style for the public nav links */
.nav-link {
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition-property: background-color, color;
    transition-duration: 200ms;
    font-weight: 500;
}

.nav-link:hover {
    background-color: #eef2ff;
    color: #4f46e5;
}

.nav-link.active-link {
    background-color: #eef2ff;
    color: #3730a3;
    font-weight: 600;
}

/* Hero background dot pattern */
.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.05) 1px, transparent 0);
    background-size: 20px 20px;
}


/* --- NEW ADMIN PANEL STYLES (COMPILED CSS) --- */

.admin-nav-link {
    display: block;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: rgb(209 213 219);
    transition-property: background-color, color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.admin-nav-link:hover {
    background-color: rgb(31 41 55);
    color: rgb(255 255 255);
}
.admin-nav-link.admin-active {
    background-color: rgb(79 70 229);
    color: rgb(255 255 255);
    box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
}

/* Table Styles */
.th-admin {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    text-align: left;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
    color: rgb(107 114 128);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.td-admin {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    white-space: nowrap;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(55 65 81);
}

/* Status Badges */
.status-badge {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    display: inline-flex;
    font-size: 0.75rem;
    line-height: 1.25rem;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: capitalize;
}
.status-active {
    background-color: rgb(220 252 231);
    color: rgb(22 101 52);
}
.status-pending_cancellation {
    background-color: rgb(254 249 195);
    color: rgb(133 77 14);
}
.status-canceled, .status-past_due, .status-removed_manually, .status-ended {
    background-color: rgb(254 226 226);
    color: rgb(153 27 27);
}
.status-incomplete {
    background-color: rgb(243 244 246);
    color: rgb(55 65 81);
}

/* Form Inputs */
.admin-input {
    display: block;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-width: 1px;
    border-color: rgb(209 213 219);
    border-radius: 0.5rem;
    color: rgb(55 65 81);
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.admin-input:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
    --tw-ring-color: rgb(99 102 241);
}


/* Buttons */
.admin-button-primary {
    background-color: rgb(79 70 229);
    color: rgb(255 255 255);
    font-weight: 700;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    transition-property: background-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.admin-button-primary:hover {
    background-color: rgb(67 56 202);
}
.admin-button-primary:focus {
     outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
    --tw-ring-color: rgb(99 102 241);
    --tw-ring-offset-width: 2px;
}

.admin-button-secondary {
    background-color: rgb(238 242 255);
    color: rgb(67 56 202);
    font-weight: 600;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 0.5rem;
    transition-property: background-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.admin-button-secondary:hover {
    background-color: rgb(224 231 255);
}
.admin-button-secondary:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-color: rgb(99 102 241);
}

.admin-button-danger {
    background-color: rgb(220 38 38);
    color: rgb(255 255 255);
    font-weight: 700;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    transition-property: background-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.admin-button-danger:hover {
    background-color: rgb(185 28 28);
}
.admin-button-danger:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-color: rgb(239 68 68);
    --tw-ring-offset-width: 2px;
}
.admin-button-danger:disabled {
    background-color: rgb(209 213 219);
    color: rgb(107 114 128);
    cursor: not-allowed;
}

/* Message Banners */
.admin-message-success {
    background-color: rgb(220 252 231);
    border-left-width: 4px;
    border-color: rgb(34 197 94);
    color: rgb(22 101 52);
    padding: 1rem;
    border-radius: 0.5rem;
}
.admin-message-error {
    background-color: rgb(254 226 226);
    border-left-width: 4px;
    border-color: rgb(220 38 38);
    color: rgb(153 27 27);
    padding: 1rem;
    border-radius: 0.5rem;
}
