/* Modern For Patients Menu Styles */

/* Container */
.for-prof-p-menu-container {
    max-width: 420px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Main Card */
.for-prof-p-card {
    background: #ffffff;
    /* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); */
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* border: 1px solid rgba(229, 231, 235, 0.8); */
}

.for-prof-p-card:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); */
}

/* Header Section */
.for-prof-p-header {
    padding: 20px 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.for-prof-p-header-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.for-prof-p-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #232f58 0%, #3b4a7a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(35, 47, 88, 0.2);
}

.for-prof-p-icon {
    color: #ffffff;
    font-size: 20px;
}

.for-prof-p-header-content {
    flex: 1;
    min-width: 0;
}

/* Title Styles */
.for-prof-p-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 18.29px !important;
    letter-spacing: .02em !important;
    color: #232f58 !important;
    text-transform: none;
    margin: 0;
    flex: 1;
}

/* Description Styles */
.for-prof-p-description {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 19.6px !important;
    color: #425060 !important;
    text-transform: none;
    margin: 0;
}

/* Content Section */
.for-prof-p-content {
    padding: 0;
}

.for-prof-p-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
    margin: 16px 24px;
    border-radius: 12px;
}

.for-prof-p-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.for-prof-p-card:hover .for-prof-p-image {
    transform: scale(1.05);
}

.for-prof-p-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(35, 47, 88, 0.1) 100%);
}

/* Info Section */
.for-prof-p-info {
    padding: 16px 24px;
}

.for-prof-p-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.for-prof-p-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    min-height: 32px;
}

.for-prof-p-feature-icon {
    color: #232f58;
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.for-prof-p-feature-text {
    font-size: 13px;
    font-weight: 500;
    color: #425060;
    line-height: 1.3;
}

/* Footer/CTA Section */
.for-prof-p-footer {
    padding: 16px 24px 20px;
    /* background: #fafbfc; */
    /* border-top: 1px solid rgba(229, 231, 235, 0.5); */
    display: flex;
    justify-content: center;
}

.for-prof-p-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 280px;
    margin: 0 auto;
    padding: 12px 20px;
    background: linear-gradient(135deg, #232f58 0%, #3b4a7a 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(35, 47, 88, 0.2);
    position: relative;
    overflow: hidden;
}

.for-prof-p-cta-button::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;
}

.for-prof-p-cta-button:hover::before {
    left: 100%;
}

.for-prof-p-cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(35, 47, 88, 0.3);
    background: linear-gradient(135deg, #1e2749 0%, #2f3d6b 100%);
    color: #ffffff !important;
}

.for-prof-p-cta-button:active {
    transform: translateY(0);
}

.for-prof-p-button-text {
    position: relative;
    z-index: 1;
}

.for-prof-p-button-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.for-prof-p-cta-button:hover .for-prof-p-button-icon {
    transform: translateX(2px);
    color: #ffffff !important;
}

.for-prof-p-cta-button:hover .for-prof-p-button-text {
    color: #ffffff !important;
}

/* Responsive Design */
@media (max-width: 480px) {
    .for-prof-p-menu-container {
        max-width: 100%;
    }
    
    .for-prof-p-header {
        padding: 16px 20px 12px;
        gap: 10px;
    }
    
    .for-prof-p-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .for-prof-p-icon {
        font-size: 18px;
    }
    
    .for-prof-p-title {
        font-size: 14px !important;
        line-height: 16px !important;
    }
    
    .for-prof-p-description {
        font-size: 13px !important;
        line-height: 18px !important;
    }
    
    .for-prof-p-image-container {
        height: 140px;
        margin: 12px 20px;
    }
    
    .for-prof-p-info {
        padding: 12px 20px;
    }
    
    .for-prof-p-footer {
        padding: 12px 20px 16px;
    }
    
    .for-prof-p-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .for-prof-p-feature {
        padding: 6px 0;
    }
}

/* Dark mode disabled - always use normal mode colors */

/* Animation for smooth loading */
@keyframes for-prof-p-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.for-prof-p-card {
    animation: for-prof-p-fadeInUp 0.6s ease-out;
}

/* Focus states for accessibility */
.for-prof-p-cta-button:focus {
    outline: 2px solid #232f58;
    outline-offset: 2px;
}

.for-prof-p-cta-button:focus:not(:focus-visible) {
    outline: none;
}

.for-prof-p-cta-button:focus-visible {
    outline: 2px solid #232f58;
    outline-offset: 2px;
}