/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Pastel Color Palette */
    --pastel-teal: #A8E6CF;
    --pastel-teal-dark: #88D4B8;
    --pastel-blue: #B8E0F6;
    --pastel-pink: #FFD3E1;
    --pastel-purple: #D4C5F9;
    --pastel-yellow: #FFF9C4;
    --pastel-orange: #FFE5B4;
    --pastel-lavender: #E6D5F7;
    --pastel-mint: #C8F7C5;
    
    /* Primary Colors */
    --primary: #66D9D0;
    --primary-light: #A8E6CF;
    --primary-dark: #4FB3AA;
    
    /* Text Colors */
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --text-light: #BDC3C7;
    
    /* Background Colors */
    --background: #F8F9FA;
    --background-light: #FFFFFF;
    --background-pastel: #FFF9F5;
    
    /* UI Colors */
    --white: #FFFFFF;
    --light-grey: #E8E8E8;
    --border-color: #E1E8ED;
    --star-color: #FFB84D;
    --success: #A8E6CF;
    --warning: #FFE5B4;
    --error: #FFD3E1;
    --info: #B8E0F6;
    
    /* Message Colors */
    --message-doctor: #A8E6CF;
    --message-user: #FFF9C4;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-pastel: 0 4px 16px rgba(168, 230, 207, 0.2);
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background-pastel);
    color: var(--text-primary);
    line-height: 1.6;
    padding-bottom: 80px;
    min-height: 100vh;
    font-size: 15px;
    overflow-x: hidden;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 1.35rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1.05rem; }
h5 { font-size: 0.95rem; }
h6 { font-size: 0.9rem; }

p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Icon Styles */
.icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    stroke: currentColor;
    fill: none;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    overflow: hidden;
    min-width: 0;
}

.page-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    text-align: center;
    color: var(--text-primary);
}

.profile-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--pastel-teal);
}

.profile-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--light-grey);
}

.message-btn, .back-btn, .add-btn, .search-btn, .filter-btn, .edit-btn, .menu-dots-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-primary);
    transition: transform 0.2s;
}

.back-btn img, .back-btn-auth img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.message-btn img, .filter-btn img, .menu-dots-btn img, .menu-hamburger img, .search-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.menu-dots img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.message-btn:hover, .back-btn:hover, .add-btn:hover {
    transform: scale(1.1);
}

.menu-dots-btn {
    font-size: 1.2rem;
}

.menu-dots-btn img {
    transform: rotate(90deg);
}

.record-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Main Content */
.main-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Home Page - Horizontal Doctor Cards */
.doctor-cards-horizontal {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.doctor-cards-horizontal::-webkit-scrollbar {
    display: none;
}

.doctor-card-horizontal {
    background: linear-gradient(135deg, var(--pastel-teal) 0%, var(--primary) 100%);
    border-radius: 20px;
    padding: 1.5rem;
    min-width: 280px;
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-pastel);
}

.doctor-card-horizontal::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.doctor-image-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.doctor-card-content {
    flex: 1;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.doctor-card-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.doctor-card-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--white);
    opacity: 0.95;
}

.btn-consult {
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 25px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.btn-consult:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.see-all {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.see-all:hover {
    color: var(--primary-dark);
}

/* Specialist Icons */
.specialist-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.specialist-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 80px;
}

.specialist-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 3px solid transparent;
}

.specialist-icon-circle:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--pastel-teal);
}

.specialist-icon-circle svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
    stroke-width: 2;
}

.specialist-icon-circle img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.specialist-item span {
    font-size: 0.85rem;
    color: var(--text-primary);
    text-align: center;
    font-weight: 500;
}

/* Top Doctor Cards */
.top-doctor-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.top-doctor-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.top-doctor-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--pastel-teal);
}

.doctor-image-placeholder-small {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--pastel-teal), var(--pastel-blue));
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.top-doctor-info {
    flex: 1;
}

.top-doctor-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.doctor-location, .doctor-specialty {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.doctor-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.stars-filled {
    color: var(--star-color);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.menu-dots {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transform: rotate(90deg);
    padding: 0.5rem;
    transition: color 0.2s;
}

.menu-dots:hover {
    color: var(--text-primary);
}

/* Profile Page */
.profile-header-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--pastel-teal);
    box-shadow: var(--shadow-sm);
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--light-grey);
}

.profile-name-section {
    flex: 1;
}

.profile-name-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.profile-email {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.menu-hamburger {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
}

/* Chart Sections */
.chart-section {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(168, 230, 207, 0.2);
}

.chart-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.chart-container {
    position: relative;
    height: 200px;
    margin-top: 1rem;
}

.chart-canvas {
    width: 100%;
    height: 100%;
}

.chart-labels-x {
    display: flex;
    justify-content: space-around;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.chart-labels-y {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-secondary);
    padding-right: 0.5rem;
}

.chart-labels-y-heart {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-secondary);
    padding-right: 0.5rem;
}

/* Search Page */
.search-bar-header {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--background);
    border-radius: 25px;
    padding: 0.6rem 1rem;
    gap: 0.5rem;
    border: 2px solid transparent;
    transition: all 0.3s;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.search-bar-header:focus-within {
    border-color: var(--pastel-teal);
    background: var(--white);
}

.search-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.search-icon-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.search-input-header {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    background: transparent;
    color: var(--text-primary);
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-search-section {
    margin-bottom: 2rem;
}

.recent-search-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.recent-search-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
}

.recent-search-tags::-webkit-scrollbar {
    display: none;
}

.search-tag {
    background: var(--white);
    border: 2px solid var(--pastel-teal);
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    color: var(--text-primary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    font-weight: 500;
}

.search-tag:hover {
    background: var(--pastel-teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.doctor-listings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.doctor-listing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    transition: all 0.3s;
    border: 2px solid transparent;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.doctor-listing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--pastel-teal);
}

.doctor-listing-info {
    flex: 1;
}

.doctor-listing-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.bookmark-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.5rem;
    transition: all 0.3s;
}

.bookmark-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.bookmark-btn:hover {
    color: var(--star-color);
    transform: scale(1.1);
}

/* Doctor Detail Page */
.doctor-detail-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--background-pastel) 100%);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    border: 2px solid rgba(168, 230, 207, 0.3);
}

.doctor-avatar-large-center {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 4px solid var(--pastel-teal);
    box-shadow: var(--shadow-md);
}

.doctor-avatar-large-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--light-grey);
}

.doctor-detail-card h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.doctor-specialty-detail {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.doctor-rating-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.consultation-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.fee-amount {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary);
    background: linear-gradient(135deg, var(--pastel-teal), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-options {
    display: flex;
    gap: 0.75rem;
}

.contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--pastel-teal);
    background: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.contact-btn:hover {
    background: var(--pastel-teal);
    transform: scale(1.1);
    box-shadow: var(--shadow-sm);
}

.contact-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.about-doctor-section, .skills-section {
    margin-bottom: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.about-doctor-section h3, .skills-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-doctor-section p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.read-more:hover {
    color: var(--primary-dark);
}

.skills-list {
    list-style: none;
    padding-left: 0;
}

.skills-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.skills-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: bold;
}

.appointment-button-section {
    position: fixed;
    bottom: 80px;
    left: 0;
    right: 0;
    padding: 1rem;
    background: var(--white);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.btn-appointment {
    width: 100%;
    background: linear-gradient(135deg, var(--pastel-teal), var(--primary));
    color: var(--white);
    border: none;
    border-radius: 16px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Chat Page */
.chat-page {
    padding-bottom: 80px;
    background: var(--background-pastel);
}

.chat-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.chat-contact-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--pastel-teal);
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--light-grey);
}

.chat-contact-details h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.chat-contact-details p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.chat-actions {
    display: flex;
    gap: 0.5rem;
}

.chat-action-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-primary);
    transition: transform 0.2s;
}

.chat-action-btn:hover {
    transform: scale(1.1);
}

.chat-action-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.chat-messages {
    padding: 1rem;
    min-height: calc(100vh - 200px);
}

.chat-date-label {
    text-align: center;
    color: var(--primary);
    font-size: 0.85rem;
    margin: 1rem 0;
    font-weight: 500;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
}

.message {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    max-width: 75%;
    animation: fadeIn 0.3s ease-in;
}

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

.message-incoming {
    align-items: flex-start;
}

.message-outgoing {
    align-items: flex-end;
    margin-left: auto;
}

.message-bubble {
    padding: 0.75rem 1rem;
    border-radius: 18px;
    word-wrap: break-word;
    box-shadow: var(--shadow-sm);
}

.message-doctor {
    background: var(--message-doctor);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.message-user {
    background: var(--message-user);
    color: var(--text-primary);
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    padding: 0 0.5rem;
}

.chat-input-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.mic-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-secondary);
    transition: transform 0.2s;
}

.mic-btn:hover {
    transform: scale(1.1);
}

.mic-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.send-btn {
    background: linear-gradient(135deg, var(--pastel-teal), var(--primary));
    color: var(--white);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.send-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow);
}

.send-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.chat-input {
    flex: 1;
    border: 2px solid var(--light-grey);
    border-radius: 25px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
}

.chat-input:focus {
    border-color: var(--pastel-teal);
}

/* Call Page */
.call-page {
    background: var(--light-grey);
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.call-back-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.call-back-btn:hover {
    transform: scale(1.1);
}

.call-video-area {
    width: 100%;
    height: calc(100% - 200px);
    background: var(--light-grey);
}

.call-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--pastel-teal), var(--primary));
    padding: 2rem 1rem;
    border-radius: 25px 25px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}

.call-controls-left, .call-controls-right {
    display: flex;
    gap: 1rem;
}

.call-controls-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.call-control-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-control-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.call-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.call-end-btn {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #E74C3C;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(135deg);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    transition: all 0.3s;
}

.call-end-btn:hover {
    transform: rotate(135deg) scale(1.1);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.5);
}

.call-end-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transform: rotate(-135deg);
}

.call-info {
    text-align: center;
    color: var(--white);
}

.call-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.call-duration {
    font-size: 0.9rem;
    opacity: 0.95;
}

/* Auth Pages */
.auth-page {
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--background-pastel) 0%, var(--white) 100%);
}

.back-btn-auth {
    position: absolute;
    top: 1rem;
    left: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    z-index: 10;
    background: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.back-btn-auth:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow);
}

.auth-container {
    width: 100%;
    max-width: 400px;
    position: relative;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.auth-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input {
    padding: 1rem;
    border: 2px solid var(--light-grey);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-primary);
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--pastel-teal);
    box-shadow: 0 0 0 3px rgba(168, 230, 207, 0.2);
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    flex: 1;
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.toggle-password:hover {
    color: var(--text-primary);
}

.toggle-password img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.forgot-password-link {
    color: #0066CC;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.forgot-password-link:hover {
    color: #0052A3;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pastel-teal), var(--primary));
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 1rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background: var(--white);
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.btn-social {
    width: 100%;
    background: var(--white);
    border: 2px solid var(--pastel-teal);
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-primary);
    transition: all 0.3s;
}

.btn-social:hover {
    background: var(--pastel-teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--text-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.social-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.auth-footer {
    text-align: center;
    margin-top: 1rem;
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-footer a {
    color: #0066CC;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: #0052A3;
}

/* Welcome/Onboarding Pages */
.welcome-page, .onboarding-page {
    background: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.welcome-container, .onboarding-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.welcome-visual-area, .onboarding-visual-area {
    flex: 1;
    background: linear-gradient(135deg, var(--pastel-teal), var(--pastel-blue));
    border-radius: 0 0 40px 40px;
    min-height: 60vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-visual-area::before, .onboarding-visual-area::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.intro-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.welcome-visual-area::after, .onboarding-visual-area::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 230, 207, 0.3), rgba(99, 179, 237, 0.3));
    z-index: 1;
}

.welcome-content, .onboarding-content {
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: 40px 40px 0 0;
    margin-top: -30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
}

.welcome-content h1, .onboarding-content h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.welcome-content p, .onboarding-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.welcome-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-signup-outline {
    background: var(--white);
    border: 2px solid var(--pastel-teal);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-signup-outline:hover {
    background: var(--pastel-teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-signin-filled {
    background: linear-gradient(135deg, var(--pastel-teal), var(--primary));
    border: none;
    color: var(--white);
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.btn-signin-filled:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-next {
    width: 100%;
    background: linear-gradient(135deg, var(--pastel-teal), var(--primary));
    border: none;
    color: var(--white);
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.75rem 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s;
    flex: 1;
    padding: 0.5rem;
    border-radius: 12px;
}

.nav-item:hover {
    background: rgba(168, 230, 207, 0.1);
}

.nav-item.active {
    color: var(--primary);
}

.nav-item.active .nav-icon {
    transform: scale(1.1);
}

.nav-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.nav-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.nav-label {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.slide-in {
    animation: slideIn 0.5s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.4s ease-out forwards;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--white);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 4px solid;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left-color: var(--success);
}

.notification-error {
    border-left-color: var(--error);
}

.notification-warning {
    border-left-color: var(--warning);
}

.notification-info {
    border-left-color: var(--info);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.notification-icon {
    font-size: 1.5rem;
}

.notification-message {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.notification-close:hover {
    background: var(--background);
    color: var(--text-primary);
}

/* Tooltip Styles */
.tooltip {
    position: absolute;
    background: var(--text-primary);
    color: var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.2s;
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--text-primary);
}

/* Form Error Styles */
input.error,
textarea.error,
select.error {
    border-color: var(--error) !important;
    background-color: rgba(255, 211, 225, 0.1);
}

.field-error {
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.field-error::before {
    content: '⚠️';
    font-size: 0.9rem;
}

/* Loading States */
.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.loading-skeleton {
    background: linear-gradient(
        90deg,
        var(--light-grey) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        var(--light-grey) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    border-radius: 8px;
}

/* Drag and Drop States */
.upload-area.drag-over {
    border-color: var(--primary);
    background: rgba(168, 230, 207, 0.2);
    transform: scale(1.02);
}

/* Smooth Transitions */
* {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

button, a, input, select, textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Effects */
.card:hover,
.doctor-card:hover,
.appointment-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(168, 230, 207, 0.3);
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--pastel-teal);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Selection */
::selection {
    background: var(--pastel-teal);
    color: var(--text-primary);
}

/* Responsive Design */
@media (min-width: 768px) {
    .main-content {
        max-width: 768px;
        padding: 2rem;
    }

    .header-content {
        max-width: 768px;
    }

    .auth-container {
        padding: 2rem;
    }

    .notification {
        top: 30px;
        right: 30px;
    }
}

@media (min-width: 1024px) {
    .main-content {
        max-width: 1024px;
    }

    .header-content {
        max-width: 1024px;
    }
}

/* Additional Utility Classes */
.card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--pastel-teal);
}

.btn-secondary:hover {
    background: var(--pastel-teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--pastel-teal), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tabs .tab {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    flex-shrink: 0;
}

.filter-tabs .tab:hover {
    border-color: var(--pastel-teal);
    color: var(--text-primary);
}

.filter-tabs .tab.active {
    background: linear-gradient(135deg, var(--pastel-teal), var(--primary));
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

/* Add Button */
.add-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pastel-teal), var(--primary));
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
    line-height: 1;
}

.add-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: var(--shadow-md);
}

/* Appointments List */
.appointments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
}

.appointment-item {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.appointment-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--pastel-teal);
}

.appointment-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 0.5rem;
    background: var(--background-pastel);
    border-radius: 12px;
    text-align: center;
}

.appointment-date .date {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.appointment-date .month {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.appointment-date .year {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.appointment-info {
    flex: 1;
}

.appointment-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.appointment-info .specialty {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.appointment-info .time {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.appointment-info .location {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.appointment-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.appointment-actions .btn-secondary {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.appointment-actions .btn-primary {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Search Section */
.search-section {
    padding: 0 1rem;
    margin-bottom: 1.5rem;
}

.search-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.search-input:focus {
    outline: none;
    border-color: var(--pastel-teal);
    box-shadow: 0 0 0 3px rgba(168, 230, 207, 0.2);
}

.search-input::placeholder {
    color: var(--text-secondary);
}

/* Specialty Section */
.specialty-section {
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.specialty-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.specialty-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 0.75rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.specialty-card:hover {
    transform: translateY(-4px);
    border-color: var(--pastel-teal);
    box-shadow: var(--shadow-md);
    background: var(--background-pastel);
}

.specialty-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-pastel);
    border-radius: 50%;
    transition: all 0.3s;
}

.specialty-card:hover .specialty-icon {
    background: var(--pastel-teal);
    transform: scale(1.1);
}

.specialty-card span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
}

/* Doctors List */
.doctors-list {
    padding: 0 1rem;
}

.doctors-list h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.doctor-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.doctor-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--pastel-teal);
}

.doctor-avatar {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--pastel-teal);
}

.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-info {
    flex: 1;
    min-width: 0;
}

.doctor-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.doctor-info .specialty {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.doctor-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.doctor-rating .stars {
    color: var(--star-color);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.doctor-rating .rating-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.doctor-info .location {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.doctor-info .availability {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.doctor-card .btn-primary {
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
    font-size: 0.9rem;
}

/* Prescription Actions */
.prescription-actions {
    position: fixed;
    bottom: 80px;
    left: 0;
    right: 0;
    padding: 1rem;
    background: var(--white);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 100;
}

.prescription-actions .btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
}
