/* Main Profile Card */
.main-profile-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.profile-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: start;
}

/* Profile Image Section */
.profile-image-wrapper {
    position: relative;
    text-align: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.rating-badge {
    background: white;
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.rating-stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.rating-text {
    color: #64748b;
    font-size: 0.9rem;
}

/* Profile Details */
.doctor-name {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.specialty-badge, .experience-badge {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 0.75rem;
    margin-right: 1rem;
    color: #0f172a;
}

.specialty-badge i, .experience-badge i {
    margin-right: 0.5rem;
    color: #0d6efd;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-tag {
    background: #e2e8f0;
    color: #475569;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Quick Info Section */
.quick-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 15px;
    width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #0d6efd;
    margin-right: 1rem;
}

.info-content label {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.info-content span {
    color: #1e293b;
    font-weight: 500;
}

.book-appointment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d6efd;
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.book-appointment-btn:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
}

.book-appointment-btn i {
    margin-right: 0.5rem;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
    display: flex;
    align-items: center;
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.info-card h3 i {
    margin-right: 0.75rem;
    color: #0d6efd;
}

/* Hospital List */
.hospital-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.hospital-item h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.hospital-item p {
    color: #64748b;
    margin: 0;
}

.hospital-item i {
    margin-right: 0.5rem;
    color: #ef4444;
}

/* Reviews Section */
.add-review-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 2rem;
    color: #cbd5e0;
    transition: color 0.2s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ffd700;
}

.review-textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    resize: vertical;
}

.submit-review-btn {
    background: #0d6efd;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-review-btn:hover {
    background: #0b5ed7;
}

/* Review Items */
.review-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-details {
    flex: 1;
}

.reviewer-details h5 {
    margin: 0;
    color: #1e293b;
    font-size: 1rem;
}

.review-rating {
    color: #ffd700;
    margin: 0.3rem 0;
}

.review-date {
    color: #64748b;
    font-size: 0.9rem;
}

.review-text {
    color: #475569;
    margin: 1rem 0;
}

/* Doctor Reply Styles */
.doctor-reply {
    background: white;
    border-radius: 10px;
    padding: 1.2rem;
    margin: 1rem 0 1rem 2rem;
    border-left: 3px solid #0d6efd;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.reply-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.reply-info {
    flex: 1;
}

.reply-info h6 {
    margin: 0;
    color: #1e293b;
    font-size: 1rem;
}

.reply-date {
    color: #64748b;
    font-size: 0.9rem;
}

.reply-text {
    color: #475569;
    margin: 0;
    padding-left: 52px; /* This aligns the text with the name (40px image + 12px gap) */
}

.reply-form {
    margin-top: 1rem;
    margin-left: 2rem;
}

.reply-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    resize: vertical;
}

.reply-form button {
    background: #0d6efd;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.no-reviews {
    text-align: center;
    padding: 3rem 0;
    color: #64748b;
}

.no-reviews i {
    font-size: 3rem;
    margin-bottom: 1rem;
}



/* Updated Services Section Styling */
.services-header {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 25px 0 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.services-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #00b4db, #0083b0);
    border-radius: 2px;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.service-tag {
    background: #ffffff;
    color: #2c3e50;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.service-tag::before {
    content: '•';
    color: #00b4db;
    font-size: 1.2em;
    margin-right: 5px;
}

.service-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #00b4db, #0083b0);
    color: white;
    border-color: transparent;
}

.service-tag:hover::before {
    color: white;
}




/* Responsive Design */
@media (max-width: 1024px) {
    .profile-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-image-wrapper {
        margin: 0 auto;
    }

    .quick-info {
        width: 100%;
        margin-top: 1rem;
    }

    .specialty-badge, .experience-badge {
        display: inline-flex;
        margin: 0.5rem;
    }

    .services-list {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-profile-card {
        padding: 1rem;
    }

    .doctor-name {
        font-size: 1.8rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .services-header {
        font-size: 1.5rem;
        text-align: center;
    }

    .services-header::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .services-list {
        gap: 8px;
        justify-content: center;
    }

    .service-tag {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

} 