body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
}

.web-app-container {
    width: 100%;
    max-width: 1400px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.screen {
    display: none;
    flex-grow: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.screen.active {
    display: flex;
    flex-direction: column;
}

.header {
    background-color: #1395ed;
    color: white;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    flex-shrink: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.header .title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    flex-grow: 1;
}

.input-field {
    background-color: #f0f2f5;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #434343;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

.button-primary {
    background-color: #1395ed;
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 10px rgba(19, 149, 237, 0.3);
    border: none;
}

.button-primary:hover {
    background-color: #0d7bbd;
}

.button-secondary {
    background-color: #6ee7b7;
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 10px rgba(110, 231, 183, 0.3);
    border: none;
}

.button-secondary:hover {
    background-color: #5ac5a0;
}

.card {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo-container {
    background-color: #1395ed;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.login-form-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

#professional-registration-screen .login-form-container {
    max-width: 1000px;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.step-dot {
    width: 12px;
    height: 12px;
    background-color: #e0e0e0;
    border-radius: 50%;
    margin: 0 6px;
    transition: background-color 0.3s;
}

.step-dot.active {
    background-color: #1395ed;
}

.license-packs-container {
    display: flex;
    gap: 16px;
    align-items: stretch;
    min-height: 550px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.pack-option {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background-color: #fff;
}

.pack-option:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pack-option.expanded {
    flex: 3;
    min-width: 400px;
    background-color: #e0f2fe;
    box-shadow: 0 8px 20px rgba(19, 149, 237, 0.3);
}

.pack-option.chosen {
    border-color: #1395ed;
}

.pack-option.chosen .pack-header {
    background-color: #d0efff;
    border-radius: 10px 10px 0 0;
    padding-bottom: 15px;
    margin-bottom: 0;
    box-shadow: 0 2px 5px rgba(19, 149, 237, 0.1);
}

.pack-option.chosen .pack-header .fas,
.pack-option.chosen .pack-header h3,
.pack-option.chosen .pack-price {
    color: #0d7bbd;
}

.pack-option .pack-content {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease-in-out;
    flex-grow: 0;
}

.pack-option.expanded .pack-content {
    height: auto;
    flex-grow: 1;
}

.pack-option .pack-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 15px;
    padding-left: 10px;
    padding-right: 10px;
}

.pack-option .pack-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 5px;
}

.pack-option.expanded .pack-header h3 {
    font-size: 2.2rem;
}

.pack-option .pack-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1395ed;
    margin-bottom: 0.5rem;
    width: 100%;
}

.pack-option.expanded .pack-price {
    font-size: 3rem;
}

.pack-option .pack-price span {
    font-size: 0.9rem;
    color: #6b7280;
}

.pack-option .pack-description {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.pack-option ul {
    margin-bottom: 1.5rem;
}

.pack-option ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    color: #374151;
}

.pack-option ul li i {
    margin-right: 0.75rem;
    color: #10b981;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pack-option .button-primary {
    margin-top: auto;
    align-self: center;
    width: 80%;
}

.payment-method-option {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
}

.payment-method-option:hover {
    background-color: #f0f2f5;
}

.payment-method-option.selected {
    border-color: #1395ed;
    background-color: #e0f2fe;
    box-shadow: 0 2px 8px rgba(19, 149, 237, 0.1);
}

.main-content-area {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

.sidebar {
    width: 250px;
    background-color: #ffffff;
    border-right: 1px solid #e0e0e0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow-y: auto;
}

.sidebar-logo {
    margin-bottom: 30px;
    text-align: center;
}

.sidebar-logo img {
    max-width: 150px;
    height: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    color: #4b5563;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
}

.nav-item:hover {
    background-color: #e0f2fe;
    color: #1395ed;
}

.nav-item.active {
    background-color: #1395ed;
    color: white;
    box-shadow: 0 2px 8px rgba(19, 149, 237, 0.2);
}

.nav-item.active .fas {
    color: white;
}

.nav-item .fas {
    margin-right: 12px;
    font-size: 1.2rem;
    color: #6b7280;
    transition: color 0.3s;
}

.content-area {
    flex-grow: 1;
    padding: 30px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.module-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.module-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 15px;
}

.profile-panel {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.profile-panel img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #1395ed;
}

.profile-panel h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
}

.profile-panel p {
    font-size: 0.9rem;
    color: #6b7280;
}

.hidden {
    display: none !important;
}

.reg-step {
    display: block;
}

.reg-step.hidden {
    display: none;
}

.content-section {
    display: block;
}

.content-section.hidden {
    display: none;
}

.specialty-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 12px;
    min-height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px;
    background-color: #f0f2f5;
}

.specialty-tag {
    background-color: #1395ed;
    color: white;
    padding: 6px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.specialty-tag .remove-tag-btn {
    background: none;
    border: none;
    color: white;
    margin-left: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.specialty-tag .remove-tag-btn:hover {
    opacity: 1;
}

/* Dropdown styles */
.dropdown-menu {
    position: absolute;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    min-width: 200px;
    z-index: 50;
    top: 60px;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #4b5563;
    font-weight: 500;
    transition: background-color 0.2s;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background-color: #f0f2f5;
    color: #1395ed;
}

.notification-dropdown {
    right: 80px;
}

/* Profile Slide Panel Styles */
.profile-slide-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
    z-index: 99;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease-in-out;
    padding: 20px;
}

.profile-slide-panel.show {
    right: 0;
}

.profile-slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.profile-slide-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #374151;
}

.profile-slide-header button {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s;
}

.profile-slide-header button:hover {
    color: #374151;
}

.profile-slide-info {
    text-align: center;
    margin-bottom: 30px;
}

.profile-slide-info img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 4px solid #1395ed;
}

.profile-slide-info h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #374151;
}

.profile-slide-info p {
    font-size: 0.95rem;
    color: #6b7280;
}

.profile-options {
    flex-grow: 1;
}

.profile-option-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: #4b5563;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
}

.profile-option-item:hover {
    background-color: #e0f2fe;
    color: #1395ed;
}

.profile-option-item .fas {
    margin-right: 12px;
    font-size: 1.2rem;
    color: #6b7280;
    transition: color 0.3s;
}

.profile-option-item:hover .fas {
    color: #1395ed;
}

.profile-logout-button {
    background-color: #ef4444;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    margin-top: 20px;
    border: none;
}

.profile-logout-button:hover {
    background-color: #dc2626;
}

/* Floating Chat Contacts Panel */
.floating-chat-contacts-panel {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 300px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    z-index: 95;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out, transform 0.3s ease-out;
}

.floating-chat-contacts-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-chat-contacts-header {
    background-color: #1395ed;
    color: white;
    padding: 12px 15px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.floating-chat-contacts-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.floating-chat-contacts-header button:hover {
    transform: scale(1.1);
}

.chat-contacts-list {
    padding: 15px;
    overflow-y: auto;
    max-height: 350px;
}

.chat-contact-item {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    border: 1px solid #e0e0e0;
}

.chat-contact-item:hover {
    background-color: #e0f2fe;
    border-color: #1395ed;
}

.chat-contact-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.chat-contact-item .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-left: auto;
    border: 2px solid white;
}

.status-online { background-color: #10b981; }
.status-offline { background-color: #ef4444; }
.status-away { background-color: #f59e0b; }

/* Floating Chat Windows Container */
.floating-chat-windows-area {
    position: fixed;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 10px;
    z-index: 90;
    pointer-events: none;
}

/* Individual Floating Chat Window */
.floating-chat-window {
    background-color: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    width: 320px;
    height: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    pointer-events: auto;
    transition: all 0.3s ease-in-out;
}

.floating-chat-window.minimized {
    height: 45px;
    width: 200px;
    border-radius: 12px;
}

.floating-chat-header {
    background-color: #1395ed;
    color: white;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 12px 12px 0 0;
}

.floating-chat-window.minimized .floating-chat-header {
    border-radius: 12px;
}

.floating-chat-header img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.floating-chat-header span {
    font-weight: 600;
    flex-grow: 1;
}

.floating-chat-header-actions button {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    margin-left: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.floating-chat-header-actions button:hover {
    transform: scale(1.1);
}

/* Modal specific styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease-in-out;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: #374151;
}

/* Tabs for Waiting Room */
.tabs-container {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 20px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.tab-button.active {
    color: #1395ed;
    border-bottom-color: #1395ed;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Patient List Item */
.patient-list-item {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background-color 0.2s;
}

.patient-list-item:hover {
    background-color: #e0f2fe;
}

.patient-list-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.patient-list-item .patient-info {
    flex-grow: 1;
}

.patient-list-item .patient-info h4 {
    font-weight: 600;
    color: #374151;
}

.patient-list-item .patient-info p {
    font-size: 0.85rem;
    color: #6b7280;
}

.patient-list-item .action-buttons {
    display: flex;
    gap: 8px;
}

.patient-list-item .action-buttons .button-small {
    padding: 8px 12px;
    font-size: 0.85rem;
    border-radius: 6px;
}

/* Service Tag for Finalizados */
.service-tag {
    background-color: #6ee7b7;
    color: white;
    padding: 6px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    margin-right: 8px;
    margin-bottom: 8px;
}

.service-tag .remove-tag-btn {
    background: none;
    border: none;
    color: white;
    margin-left: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.service-tag .remove-tag-btn:hover {
    opacity: 1;
}

@media (max-width: 1024px) {
    .web-app-container {
        max-width: 100%;
        border-radius: 0;
    }
    .sidebar {
        width: 80px;
        padding: 15px 10px;
    }
    .sidebar-logo img {
        max-width: 50px;
    }
    .sidebar .nav-item span {
        display: none;
    }
    .sidebar .nav-item {
        justify-content: center;
        padding: 10px;
    }
    .sidebar .nav-item .fas {
        margin-right: 0;
    }
    .content-area {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .main-content-area {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-around;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 10px 0;
    }
    .sidebar-logo {
        display: none;
    }
    .sidebar .nav-item {
        flex-direction: column;
        font-size: 0.75rem;
        padding: 8px 5px;
    }
    .sidebar .nav-item span {
        display: block;
        margin-top: 5px;
    }
    .sidebar .nav-item .fas {
        margin-right: 0;
        margin-bottom: 5px;
    }
    .header .title {
        font-size: 1.2rem;
    }
}

/* Package selection styles */
.package-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-option:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.package-option.selected {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.package-option.recommended {
    border-color: #10b981;
}

.recommended-badge {
    position: absolute;
    top: 12px;
    right: -30px;
    background: #10b981;
    color: white;
    padding: 4px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
}

.package-header {
    padding: 1rem;
    text-align: center;
}

.package-body {
    padding: 1.5rem;
    background: white;
}

.package-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #374151;
}

/* Document upload styles */
.document-upload-section {
    text-align: center;
}

.document-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.document-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.document-upload-area:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
}

.upload-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s ease;
}

.upload-button:hover {
    color: #3b82f6;
}

.upload-preview {
    max-width: 100%;
    max-height: 100px;
    border-radius: 4px;
    margin-top: 0.5rem;
}

/* Specialty styles */
.specialty-input-section {
    margin-bottom: 1.5rem;
}

.specialty-tags-container {
    min-height: 60px;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
}

.specialty-tag {
    display: inline-flex;
    align-items: center;
    background-color: #3b82f6;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin: 0.25rem;
}

.specialty-suggestion {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.specialty-suggestion:hover {
    background-color: #e5e7eb;
    border-color: #9ca3af;
}

/* Payment method styles */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method-option {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-option:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
}

.payment-method-option.selected {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.selected-plan-summary {
    margin-bottom: 2rem;
}

/* Confirmation summary styles */
.confirmation-summary {
    max-width: 500px;
    margin: 0 auto;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    color: #6b7280;
    font-weight: 500;
}

.summary-value {
    color: #374151;
    font-weight: 600;
    text-align: right;
}

.terms-acceptance {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
}

/* Remove tag button styles */
.remove-tag-btn {
    background: none;
    border: none;
    color: white;
    margin-left: 0.5rem;
    cursor: pointer;
    font-weight: bold;
    padding: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.remove-tag-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Floating chat windows styles */
.floating-chat-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: #1395ed;
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
}

.chat-contact-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.chat-contact-status {
    font-size: 0.75rem;
    opacity: 0.8;
}

.chat-controls {
    display: flex;
    gap: 5px;
}

.chat-control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.chat-control-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #f9fafb;
}

.chat-message {
    margin-bottom: 12px;
}

.chat-message.sent {
    text-align: right;
}

.chat-message.received {
    text-align: left;
}

.message-content {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 12px;
    max-width: 80%;
    word-wrap: break-word;
}

.chat-message.sent .message-content {
    background: #1395ed;
    color: white;
}

.chat-message.received .message-content {
    background: white;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.message-time {
    font-size: 0.7rem;
    color: #6b7280;
    margin-top: 4px;
}

.chat-input-area {
    padding: 12px 16px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    outline: none;
    font-size: 0.9rem;
}

.chat-input:focus {
    border-color: #1395ed;
}

.send-message-btn {
    background: #1395ed;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.send-message-btn:hover {
    background: #0f7fd1;
}

/* Multiple chat windows positioning */
.floating-chat-window:nth-child(2) {
    right: 340px;
}

.floating-chat-window:nth-child(3) {
    right: 660px;
}

.floating-chat-window:nth-child(4) {
    right: 980px;
}

/* Responsive chat windows */
@media (max-width: 768px) {
    .floating-chat-window {
        width: calc(100vw - 40px);
        height: 300px;
        right: 20px;
        left: 20px;
    }
    
    .floating-chat-window:nth-child(n+2) {
        right: 20px;
        bottom: 340px;
    }
    
    .floating-chat-window:nth-child(n+3) {
        bottom: 660px;
    }
}

/* Enhanced modal styles for license details */
.modal-content.max-w-2xl {
    max-width: 42rem;
    max-height: 90vh;
    overflow-y: auto;
}

/* License modal specific styles */
#license-details-modal .modal-content {
    padding: 2rem;
}

#license-details-modal .grid {
    gap: 1.5rem;
}

#license-details-modal .bg-blue-50,
#license-details-modal .bg-green-50,
#license-details-modal .bg-gray-50 {
    border-left: 4px solid;
}

#license-details-modal .bg-blue-50 {
    border-left-color: #3b82f6;
}

#license-details-modal .bg-green-50 {
    border-left-color: #10b981;
}

#license-details-modal .bg-gray-50 {
    border-left-color: #6b7280;
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.active {
    background-color: #dcfce7;
    color: #166534;
}

.status-badge.limited {
    background-color: #fef3c7;
    color: #92400e;
}

/* Improved package options for registration */
.package-option {
    position: relative;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.package-option.recommended::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #10b981, #059669);
    border-radius: 14px;
    z-index: -1;
}

/* Responsive improvements for license modal */
@media (max-width: 768px) {
    #license-details-modal .modal-content {
        padding: 1rem;
        margin: 1rem;
    }
    
    #license-details-modal .grid.grid-cols-1.md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    #license-details-modal .grid.grid-cols-2.md\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Clinic and Administration tabs styling */
.clinic-tab, .admin-tab {
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.clinic-tab:hover, .admin-tab:hover {
    color: #374151;
    border-color: #d1d5db;
}

.clinic-tab-content, .admin-tab-content {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced table styling for clinic and admin sections */
.clinic-tab-content table, .admin-tab-content table {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.clinic-tab-content table th, .admin-tab-content table th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.clinic-tab-content table tbody tr:hover, .admin-tab-content table tbody tr:hover {
    background-color: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

/* Cash register specific styling */
#current-balance {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.bg-blue-50 {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
}

.bg-green-50 {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
}

.bg-red-50 {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border: 1px solid #fca5a5;
}

.bg-purple-50 {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #d8b4fe;
}

.bg-yellow-50 {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
}

/* Package styling enhancements */
.package-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-style: italic;
}

.package-section {
    margin-bottom: 1rem;
}

.package-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.package-features {
    margin-bottom: 0.75rem;
}

.package-features li {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #4b5563;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.package-features li i {
    margin-right: 0.5rem;
    color: #10b981;
    width: 12px;
    flex-shrink: 0;
}

.support-text {
    font-size: 0.8rem;
    color: #6b7280;
    background: #f8fafc;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border-left: 3px solid #3b82f6;
    margin: 0;
}

.additional-cost {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-top: 1rem;
}

.additional-cost p {
    margin: 0;
    font-size: 0.75rem;
    color: #92400e;
    line-height: 1.4;
}

.package-option {
    max-height: 600px;
    overflow-y: auto;
}

.package-option::-webkit-scrollbar {
    width: 4px;
}

.package-option::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.package-option::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.package-option::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Enhanced button styling for admin sections */
.admin-tab-content .button-primary {
    position: relative;
    overflow: hidden;
}

.admin-tab-content .button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.admin-tab-content .button-primary:hover::before {
    left: 100%;
}

/* Stock and currency management styling */
.input-field {
    transition: all 0.2s ease-in-out;
}

.input-field:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Status badges enhancement */
.status-badge, .px-2.py-1.rounded-full {
    position: relative;
    overflow: hidden;
}

.status-badge::before, .px-2.py-1.rounded-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s;
}

.status-badge:hover::before, .px-2.py-1.rounded-full:hover::before {
    left: 100%;
}

/* Responsive design for clinic and admin sections */
@media (max-width: 768px) {
    .clinic-tab, .admin-tab {
        font-size: 0.75rem;
        padding: 0.5rem 0.25rem;
    }
    
    .clinic-tab i, .admin-tab i {
        display: none;
    }
    
    .grid.grid-cols-1.md\:grid-cols-2,
    .grid.grid-cols-1.md\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .overflow-x-auto {
        font-size: 0.75rem;
    }
    
    .clinic-tab-content .bg-white,
    .admin-tab-content .bg-white {
        padding: 1rem;
    }
}

/* Loading animation for dynamic content */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Floating Chat Styles */
.floating-chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.floating-chat-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-header-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.chat-controls {
    display: flex;
    gap: 4px;
}

.chat-minimize-btn, .chat-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background-color 0.2s;
}

.chat-minimize-btn:hover, .chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.floating-chat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-users-list {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px;
    max-height: 120px;
    overflow-y: auto;
}

.chat-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
    transition: background-color 0.2s;
}

.chat-user:hover {
    background: #e2e8f0;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.chat-user span {
    flex: 1;
    font-size: 12px;
    color: #374151;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: auto;
}

.status-indicator.online {
    background: #10b981;
}

.status-indicator.offline {
    background: #6b7280;
}

.chat-messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    background: #ffffff;
}

.chat-message {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
    gap: 8px;
}

.chat-message.sent {
    justify-content: flex-end;
}

.chat-message.sent .message-content {
    background: #3b82f6;
    color: white;
    border-radius: 12px 12px 4px 12px;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #6b7280;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.message-content {
    background: #f1f5f9;
    border-radius: 12px 12px 12px 4px;
    padding: 8px 12px;
    max-width: 70%;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.message-sender {
    font-size: 11px;
    font-weight: 600;
    color: #374151;
}

.chat-message.sent .message-sender {
    color: rgba(255, 255, 255, 0.9);
}

.message-time {
    font-size: 10px;
    color: #6b7280;
}

.chat-message.sent .message-time {
    color: rgba(255, 255, 255, 0.7);
}

.message-text {
    font-size: 13px;
    line-height: 1.4;
    color: #374151;
}

.chat-message.sent .message-text {
    color: white;
}

.chat-input-container {
    padding: 12px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
    display: flex;
    gap: 8px;
}

#floating-chat-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

#floating-chat-input:focus {
    border-color: #3b82f6;
}

.chat-send-btn {
    background: #3b82f6;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.chat-send-btn:hover {
    background: #2563eb;
}

/* Chat Bar (minimized state) */
.chat-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3b82f6;
    color: white;
    padding: 12px 16px;
    border-radius: 25px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.2s;
}

.chat-bar:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.chat-bar-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.chat-notification {
    background: #ef4444;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    font-weight: 600;
}

.chat-bar-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-left: 8px;
}

.chat-bar-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Chat Toggle Button */
.chat-toggle-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.2s;
}

.chat-toggle-button:hover {
    background: #2563eb;
    transform: scale(1.1);
}

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    font-weight: 600;
}

/* Responsive design for chat */
@media (max-width: 768px) {
    .floating-chat-container {
        width: calc(100vw - 40px);
        height: calc(100vh - 40px);
        bottom: 20px;
        right: 20px;
        left: 20px;
    }
    
    .chat-users-list {
        max-height: 80px;
    }
    
    .chat-user span {
        font-size: 11px;
    }
    
    .message-content {
        max-width: 85%;
    }
}

/* Animation for chat opening */
@keyframes chatSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.floating-chat-container:not(.hidden) {
    animation: chatSlideIn 0.3s ease-out;
}

/* Scrollbar styling for chat */
.chat-messages::-webkit-scrollbar,
.chat-users-list::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track,
.chat-users-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.chat-messages::-webkit-scrollbar-thumb,
.chat-users-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.chat-messages::-webkit-scrollbar-thumb:hover,
.chat-users-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Calendar Styles */
.calendar-controls {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.calendar-view-buttons {
    display: flex;
    gap: 0.5rem;
}

.calendar-view-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    color: #6b7280;
}

.calendar-view-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.calendar-view-btn:hover:not(.active) {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.calendar-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #6b7280;
}

.nav-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.calendar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    min-width: 200px;
    text-align: center;
}

/* Calendar Grid */
.calendar-grid {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.day-header {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: #374151;
    border-right: 1px solid #e5e7eb;
}

.day-header:last-child {
    border-right: none;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    min-height: 120px;
    padding: 0.5rem;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative;
}

.calendar-day:hover {
    background: #f8fafc;
}

.calendar-day.other-month {
    color: #9ca3af;
    background: #f9fafb;
}

.calendar-day.today {
    background: #dbeafe;
    border: 2px solid #3b82f6;
}

.calendar-day.selected {
    background: #3b82f6;
    color: white;
}

.day-number {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.day-appointments {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.appointment-item {
    background: #3b82f6;
    color: white;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.appointment-item.occupied {
    background: #ef4444;
}

.appointment-item.available {
    background: #10b981;
}

/* Week and Day Views */
.week-grid, .day-timeline {
    display: grid;
    grid-template-columns: 80px 1fr;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.time-column {
    background: #f8fafc;
    border-right: 1px solid #e5e7eb;
}

.time-slot {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.week-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.week-day {
    border-right: 1px solid #e5e7eb;
    position: relative;
}

.week-day:last-child {
    border-right: none;
}

.week-day-header {
    padding: 0.75rem;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
    font-weight: 600;
    color: #374151;
}

.week-day-slots {
    display: flex;
    flex-direction: column;
}

.week-time-slot {
    height: 60px;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s;
}

.week-time-slot:hover {
    background: #f8fafc;
}

/* Day view specific */
.day-header-info {
    background: #f8fafc;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    grid-column: 1 / -1;
}

.day-header-info h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

/* Summary Cards */
.appointment-summary {
    margin-top: 2rem;
}

.summary-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-radius: 0.5rem;
    gap: 1rem;
}

.summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.summary-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-info p {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

/* Progress Album Styles */
.progress-entry-card {
    background: #f9fafb;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
    cursor: pointer;
}

.progress-entry-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.progress-entry-card.edit-mode {
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.progress-entry-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #e5e7eb;
}

.progress-entry-content {
    padding: 1rem;
}

.progress-entry-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.progress-entry-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.progress-entry-date {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(59, 130, 246, 0.9);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.progress-entry-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.edit-entry-btn {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.edit-entry-btn:hover {
    background: #d97706;
}

/* Responsive design */
@media (max-width: 768px) {
    .calendar-controls .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .calendar-view-buttons {
        justify-content: center;
    }
    
    .calendar-navigation {
        justify-content: center;
    }
    
    .calendar-day {
        min-height: 80px;
        font-size: 0.875rem;
    }
    
    .appointment-item {
        font-size: 0.625rem;
    }
    
    .week-grid, .day-timeline {
        grid-template-columns: 60px 1fr;
    }
    
    .time-slot {
        font-size: 0.75rem;
        padding: 0.5rem 0.25rem;
    }
}

/* Patients Management Styles */
.patients-filters {
    border: 1px solid #e5e7eb;
}

.patients-table-container {
    border: 1px solid #e5e7eb;
}

.patients-table-container table {
    border-collapse: separate;
    border-spacing: 0;
}

.patients-table-container th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: sticky;
    top: 0;
    z-index: 10;
}

.patients-table-container tbody tr:hover {
    background-color: #f8fafc;
}

.patient-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.patient-status.active {
    background-color: #dcfce7;
    color: #166534;
}

.patient-status.inactive {
    background-color: #fef3c7;
    color: #92400e;
}

.patient-status.pending {
    background-color: #dbeafe;
    color: #1e40af;
}

/* Appointment Modal Styles */
.appointment-step {
    display: none;
}

.appointment-step.active {
    display: block;
}

.appointment-month-btn {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

.appointment-month-btn:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.appointment-month-btn.selected {
    border-color: #3b82f6;
    background: #3b82f6;
    color: white;
}

.time-slot-btn {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.75rem;
    text-align: center;
}

.time-slot-btn:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.time-slot-btn.selected {
    border-color: #3b82f6;
    background: #3b82f6;
    color: white;
}

.time-slot-btn:disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

.specialty-option {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.specialty-option:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.specialty-option input[type="radio"] {
    margin-right: 0.75rem;
}

.specialty-option input[type="radio"]:checked + .specialty-label {
    color: #3b82f6;
    font-weight: 600;
}

.specialty-label {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    transition: all 0.2s;
}

/* Patient Profile Modal */
.patient-info-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.patient-info-card h4 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.patient-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.patient-info-item {
    display: flex;
    flex-direction: column;
}

.patient-info-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.patient-info-value {
    font-size: 0.875rem;
    color: #1f2937;
    font-weight: 500;
}

.appointment-history {
    max-height: 300px;
    overflow-y: auto;
}

.appointment-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.appointment-history-item:last-child {
    border-bottom: none;
}

.appointment-date {
    font-size: 0.875rem;
    color: #1f2937;
    font-weight: 500;
}

.appointment-specialty {
    font-size: 0.75rem;
    color: #6b7280;
}

.appointment-status {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.appointment-status.completed {
    background: #dcfce7;
    color: #166534;
}

.appointment-status.cancelled {
    background: #fecaca;
    color: #991b1b;
}

.appointment-status.rescheduled {
    background: #fef3c7;
    color: #92400e;
}

/* License Information Modal */
.license-info-content {
    padding: 1rem;
}

.license-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.license-details-grid {
    display: grid;
    gap: 1rem;
}

.license-detail-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.license-detail-item:hover {
    background: #f1f5f9;
    border-color: #3b82f6;
}

.license-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: white;
    margin-right: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.license-detail-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.license-detail-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.license-detail-value {
    font-size: 0.875rem;
    color: #1f2937;
    font-weight: 600;
}

.license-status-active {
    color: #059669;
    background: #d1fae5;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.license-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.license-actions button {
    flex: 1;
    max-width: 200px;
}

/* Mini Calendar for Appointment Modal */
.mini-calendar {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    background: #f9fafb;
}

.calendar-header-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-title-mini {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.nav-btn-mini {
    background: #e5e7eb;
    border: none;
    border-radius: 0.25rem;
    padding: 0.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s;
}

.nav-btn-mini:hover {
    background: #d1d5db;
    color: #374151;
}

.mini-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e5e7eb;
    border-radius: 0.375rem;
    overflow: hidden;
}

.day-header-mini {
    background: #f3f4f6;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
}

.calendar-day-mini {
    background: white;
    padding: 0.75rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.calendar-day-mini:hover {
    background: #f0f9ff;
    color: #1d4ed8;
}

.calendar-day-mini.available {
    background: #ecfdf5;
    color: #065f46;
    font-weight: 500;
}

.calendar-day-mini.available:hover {
    background: #d1fae5;
}

.calendar-day-mini.selected {
    background: #1d4ed8;
    color: white;
    font-weight: 600;
}

.calendar-day-mini.unavailable {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

.calendar-day-mini.other-month {
    color: #d1d5db;
    background: #f9fafb;
}

.calendar-day-mini.available::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #10b981;
    border-radius: 50%;
}

/* Time Slots Grid */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
}

.time-slot-btn {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    text-align: center;
    font-weight: 500;
}

.time-slot-btn:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.time-slot-btn.selected {
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: white;
}

.time-slot-btn:disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

.time-slot-btn.occupied {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
    cursor: not-allowed;
}

/* Selected Info Boxes */
.selected-slot-info,
.selected-time-info {
    margin-top: 1rem;
}

.appointment-summary {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fafafa;
}

/* Success Message */
.success-message {
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
}

.success-icon {
    color: #16a34a;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-title {
    color: #15803d;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.success-description {
    color: #166534;
    margin-bottom: 1.5rem;
}

/* Enhanced License Modal Styles */
.license-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.license-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.license-info-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.license-info-content p {
    margin-bottom: 0.75rem;
    color: #4b5563;
}

.license-staff-list {
    list-style: none;
    padding: 0;
}

.license-staff-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.license-staff-list i {
    margin-right: 0.75rem;
    color: #3b82f6;
    width: 1.25rem;
}

.status-active {
    color: #059669;
    font-weight: 600;
}

/* Payment Section Styles */
.payment-section {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    background: #fafafa;
}

.payment-header h4 {
    display: flex;
    align-items: center;
}

.payment-form {
    margin-top: 1rem;
}

.payment-form .input-field {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.payment-form .input-field:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Patient Care Modal Styles */
.patient-care-header {
    margin-bottom: 1.5rem;
}

.patient-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.care-tabs {
    border-bottom: 1px solid #e5e7eb;
}

.care-tab {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    color: #6b7280;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.care-tab:hover {
    color: #3b82f6;
    background: #f8fafc;
}

.care-tab.active {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
    background: #f0f9ff;
}

.care-tab-content {
    padding: 1.5rem 0;
}

.consultation-form,
.consultation-actions {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.symptom-checkbox {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.symptom-checkbox:hover {
    background: #f0f9ff;
    border-color: #3b82f6;
}

.symptom-checkbox input {
    margin-right: 0.5rem;
}

.vital-signs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.button-success {
    background: #059669;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-success:hover {
    background: #047857;
}

/* History Timeline */
.history-timeline {
    position: relative;
    padding-left: 2rem;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.history-item {
    position: relative;
    margin-bottom: 2rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -2.25rem;
    top: 1rem;
    width: 0.75rem;
    height: 0.75rem;
    background: #3b82f6;
    border-radius: 50%;
    border: 2px solid white;
}

.history-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.history-content h6 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

/* Prescriptions List */
.prescriptions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prescription-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
}

.prescription-item h6 {
    color: #1f2937;
    margin-bottom: 0.25rem;
}

/* Notes Section */
.notes-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.note-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.note-header {
    margin-bottom: 0.5rem;
    color: #3b82f6;
    font-size: 0.875rem;
}

/* Care Footer */
.care-footer {
    background: #f8fafc;
    margin: 0 -1.5rem -1.5rem -1.5rem;
    padding: 1.5rem;
    border-radius: 0 0 0.5rem 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .license-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .care-tabs .flex {
        flex-wrap: wrap;
    }
    
    .care-tab {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .symptoms-grid {
        grid-template-columns: 1fr;
    }
    
    .vital-signs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Waiting Room Styles */
.patient-waiting-item {
    margin-bottom: 1rem;
}

.patient-waiting-item:last-child {
    margin-bottom: 0;
}

.patient-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Additional button styles for waiting room */
.bg-green-600 {
    background-color: #059669;
}

.bg-green-600:hover {
    background-color: #047857;
}

.text-yellow-800 {
    color: #92400e;
}

.bg-yellow-100 {
    background-color: #fef3c7;
}
