

:root {
    --background: #ffffff;
    --foreground: #0f172a;
    --card: #ffffff;
    --card-foreground: #0f172a;
    --primary: #fdad00;
    --primary-foreground: #0f172a;
    --secondary: #f1f5f9;
    --secondary-foreground: #0f172a;
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
    --accent: #f1f5f9;
    --accent-foreground: #0f172a;
    --destructive: #ef4444;
    --destructive-foreground: #f8fafc;
    --border: #e2e8f0;
    --input: #e2e8f0;
    --ring: #fdad00;
    --radius: 0.5rem;
}


/* Add these styles to fix the container overflow issue */
.card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
}

.card-content {
    flex: 1 1 auto;
    overflow: visible;
    height: auto;
}

.space-y-4 > * {
    margin-top: 1rem;
    margin-bottom: 0;
}

.space-y-4 > *:first-child {
    margin-top: 0;
}

/* Ensure the contact directly section expands properly */
.card-content.space-y-4 {
    display: flex;
    flex-direction: column;
    height: auto;
}

/* Fix for any potential overflow issues */
.grid {
    overflow: visible;
}

.md\:col-span-2, .lg\:col-span-2 {
    height: auto;
    min-height: 0;
}
img {
    max-width: 100%;
    /*height: auto;*/
}

a {
    color: inherit;
    text-decoration: none;
}
/* Tabs */
.tabs {
    width: 100%;
}
/* Service hours */
.service-hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.service-hours-day {
    font-weight: 500;
}

.alert-box {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #fffbeb;
    border-radius: 0.375rem;

    color: #92400e;
    display: flex;
    align-items: flex-start;
}

.alert-box i {
    margin-right: 0.5rem;
    margin-top: 0.125rem;
}

/* Issue category cards */
.issue-categories {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .issue-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .issue-categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.issue-category-card {
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}

.issue-category-card:hover {
    border-color: #fdad00;
    background-color: rgba(253, 173, 0, 0.05);
}

.issue-category-card.selected {
    border: 2px solid #fdad00;
    background-color: rgba(253, 173, 0, 0.05);
}

.issue-category-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    text-align: center;
}

.issue-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: rgba(253, 173, 0, 0.1);
    margin: 0.5rem 0;
}

.issue-category-icon .icon {

}

.issue-category-title {
    font-weight: 500;
}

/* Form styling */
.form-input {
    width: 100%;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    padding: 0.625rem;

}

.form-input:focus {
    outline: none;
    border-color: #fdad00;
    box-shadow: 0 0 0 2px rgba(253, 173, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-description {

    color: #6b7280;
    margin-top: 0.25rem;
}

.form-control {
    width: 100%;
    padding: 0.625rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;

    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #fdad00;
    box-shadow: 0 0 0 2px rgba(253, 173, 0, 0.2);
}

.form-select {
    width: 100%;
    padding: 0.625rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;

    background-color: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-select:focus {
    outline: none;
    border-color: #fdad00;
    box-shadow: 0 0 0 2px rgba(253, 173, 0, 0.2);
}

.form-textarea {
    width: 100%;
    padding: 0.625rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;

    min-height: 120px;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-textarea:focus {
    outline: none;
    border-color: #fdad00;
    box-shadow: 0 0 0 2px rgba(253, 173, 0, 0.2);
}

/* Radio and Checkbox */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.radio-input {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    cursor: pointer;
}

.radio-input:checked {
    border-color: #fdad00;
    background-color: #fdad00;
}

.radio-input:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background-color: white;
}

.radio-label {
    font-weight: normal;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-input {
    width: 1rem;
    height: 1rem;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    cursor: pointer;
    margin-top: 0.25rem;
}

.checkbox-input:checked {
    border-color: #fdad00;
    background-color: #fdad00;
}

.checkbox-input:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 0.25rem;
    height: 0.5rem;
    border: solid white;
    border-width: 0 2px 2px 0;
}

.checkbox-label {
    font-weight: normal;
}

/* Alerts */
.alert {
    border-radius: 0.375rem;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
}

.alert-amber {
    background-color: #fffbeb;
    color: #92400e;
}

.alert .icon {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Confirmation screen */
.confirmation {
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e5e5;
}

.confirmation-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 1.5rem;
}

.confirmation-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    background-color: #dcfce7;
    margin-bottom: 1rem;
}

.confirmation-icon .icon {

    color: #10b981;
}

.confirmation-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.confirmation-subtitle {
    color: #6b7280;
}

.confirmation-details {
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    background-color: #f9fafb;
    padding: 1rem;
}

.confirmation-details h3 {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.confirmation-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.confirmation-detail-label {
    color: #6b7280;
}

.confirmation-detail-value {
    font-weight: 500;
}

.confirmation-detail-value.status {
    color: #f59e0b;
}

.confirmation-next {
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    background-color: #eff6ff;
    padding: 1rem;
    color: #1e40af;
}

.confirmation-next-content {
    display: flex;
    align-items: flex-start;
}

.confirmation-next-content .icon {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.confirmation-next-title {
    font-weight: 500;
}

.confirmation-next-description {
    margin-top: 0.25rem;

}

.confirmation-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .confirmation-actions {
        flex-direction: row;
    }
}

/* Quick help links */
.quick-help-list {
    list-style: none;

}

.quick-help-list li {
    margin-bottom: 0.5rem;
}

.quick-help-list a {
    color: var(--primary);
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
}

.quick-help-list a:hover {
    text-decoration: underline;
}
.tabs-list {
    display: flex;
    width: 100%;
    overflow: hidden;
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
    background-color: #f8f8f8;
    border: 1px solid #e5e5e5;
}

.tab-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background-color: #f8f8f8;
    color: #7a6c5d;
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.tab-trigger.active {
    background-color: #f59e0b !important;
    color: black;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #fdad00;
}

.tab-trigger:hover:not(.active) {
    background-color: #f0f0f0;
    color: #5a4d3e;
}

.tab-trigger i {
    margin-right: 0.5rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .md\:col-span-2 {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
  .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .lg\:col-span-2 {
        grid-column: span 2;
    }
}

/* Card */
.card {
    background-color: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-header {
    padding: 1.5rem 1.5rem 0.75rem;
}

.card-title {

    font-weight: 600;
    margin-bottom: 0.25rem;
}

.card-description {
    color: var(--muted-foreground);

}

.card-content {
    padding: 1.5rem;
}

/* Contact card */
.contact-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.contact-image-container {
    position: relative;
    /*height: 16rem;*/
    width: 100%;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.contact-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0), transparent);
}

.contact-image-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1rem;
    color: white;
}

.contact-image-content h3 {

    font-weight: 600;
}

.contact-image-content p {
    opacity: 0.9;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;

    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.badge-default {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.badge-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
}

.badge-outline:hover {
    background-color: var(--muted);
}

/* Contact info */
.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.contact-info i {
    color: var(--primary);
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-best-for {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.contact-best-for p:first-child {

    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

/* Department section */
.department-section {
    margin-bottom: 3rem;
}

.department-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.department-header h2 {

    font-weight: 600;
}

.department-header i {
    color: var(--primary);
}

/* Department logo */
.department-logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

/* Accordion */
.accordion {
    background-color: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-top: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-size: 12px !important;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    /*font-size: 1rem;*/
    font-weight: 500;
}

.accordion-trigger:hover {
    background-color: var(--muted);
}

.accordion-trigger-content {
    display: flex;
    align-items: center;
}

.accordion-trigger-content i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.accordion-content {
    padding: 0 1rem 1rem;
    display: none;
}

.accordion-content.open {
    display: block;
}

/* Nested accordion */
.nested-accordion-item {
    border-bottom: 1px solid var(--border);
}

.nested-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;

    font-weight: 500;
}

.nested-accordion-content {
    padding: 0 0 1rem;
    display: none;

    color: var(--muted-foreground);
}

.nested-accordion-content.open {
    display: block;
}

/* Form */
.form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {

    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: var(--primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--input);
    background-color: var(--background);

    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 2px rgba(253, 173, 0, 0.2);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-error {
    background-color: #fef2f2;
    color: #b91c1c;
    padding: 1rem;
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;

    border: 1px solid #fee2e2;
    margin-bottom: 1rem;
}

.form-error i {
    margin-right: 0.5rem;
    margin-top: 0.125rem;
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);

    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: #e69c00;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: rgba(253, 173, 0, 0.1);
}

.btn-ghost {
    background-color: transparent;
    color: var(--foreground);
}

.btn-ghost:hover {
    background-color: var(--muted);
}

.btn-full {
    width: 100%;
}

.btn i {
    margin-right: 0.5rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Success message */
.success-message {
    background: linear-gradient(to bottom right, white, #fff7e6);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.success-icon {
    background-color: #dcfce7;
    border-radius: 9999px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite alternate;
}

.success-icon i {

    color: #16a34a;
}

.success-title {

    font-weight: 500;
    margin-bottom: 0.75rem;
}

.success-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    max-width: 28rem;
}

/* Filter section */
.filter-section {
    margin-bottom: 2rem;
    background-color: rgba(241, 245, 249, 0.3);
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.filter-title {
    display: flex;
    align-items: center;
}

.filter-title i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.filter-clear {

}

.filter-group {
    margin-bottom: 0.5rem;
}

.filter-group-title {

    font-weight: 500;
    margin-bottom: 0.5rem;
}

.filter-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* No results */
.no-results {
    text-align: center;
    padding: 3rem 0;
    background-color: rgba(241, 245, 249, 0.3);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.no-results i {

    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.no-results h3 {

    font-weight: 500;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

/* System status */
.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1rem;
    margin-bottom: 1rem;
}

.status-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
}

.status-indicator.green {
    background-color: #22c55e;
}

.status-indicator.yellow {
    background-color: #eab308;
}

.status-indicator.red {
    background-color: #ef4444;
}

.status-text {

}

.status-text.green {
    color: #16a34a;
}

.status-text.yellow {
    color: #ca8a04;
}

.status-text.red {
    color: #dc2626;
}

.status-timestamp {
    margin-top: 1rem;

    color: var(--muted-foreground);
}

/* Office info */
.office-image {
    border-radius: var(--radius);
    margin-bottom: 1rem;
    height: 20rem;
    background-size: cover;
    background-position: center;
}

.office-title {

    font-weight: 600;
    margin-bottom: 0.5rem;
}

.office-description {
    color: var(--muted-foreground);
}

.office-section {
    margin-bottom: 1rem;
}

.office-section h3 {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.office-hours {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.office-hours i {
    color: var(--primary);
    margin-top: 0.125rem;
}

.office-note {
    background-color: #eff6ff;
    padding: 0.75rem;
    border-radius: var(--radius);

    color: #1e40af;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tabs-list {
        flex-direction: column;
    }

    .tab-trigger {
        border-bottom: 1px solid var(--border);
    }

    .tab-trigger:last-child {
        border-bottom: none;
    }

    .page-header {
        padding: 2rem 1rem;
    }

    .page-header h1 {

    }
}

@media (max-width: 640px) {
    .card-header, .card-content {
        padding: 1rem;
    }

    .contact-image-container {
        height: 12rem;
    }
}
