        body { 
            font-family: 'Tahoma', sans-serif; 
            margin: 20px; 
            background-color: #E8F5E9;
            color: #333; 
        }
        .container { 
            max-width: 1200px; 
            margin: auto; 
            background-color: #fff; 
            padding: 30px; 
            border-radius: 8px; 
            box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
        }
        h1, h2 { 
            color: #388e3c;
            margin-bottom: 20px; 
            border-bottom: 2px solid #eee; 
            padding-bottom: 10px; 
        }
        .patient-section { 
            display: flex; 
            flex-wrap: wrap; 
            gap: 30px; 
        }
        .patient-info-container { 
            flex: 2; 
            min-width: 300px; 
        }
        
        .patient-actions-container { 
            flex: 1; 
            min-width: 150px; 
            display: flex; 
            flex-direction: row; 
            gap: 10px; 
            align-items: center; 
            flex-wrap: wrap; 
        }

        .patient-info, .treatment-history { margin-bottom: 30px; }
        .patient-info p, .treatment-history th, .treatment-history td { margin-bottom: 10px; line-height: 1.6; }
        .patient-info strong, .treatment-history th { color: #388e3c; }
        
        table { 
            width: 100%; 
            border-collapse: collapse; 
            margin-top: 15px; 
        }
        th, td { 
            border: 1px solid #ddd; 
            padding: 12px 15px; 
            text-align: right; 
        }
        th { 
            background-color: #E8F5E9; 
            color: #495057; 
        }
        tr:nth-child(even) { 
            background-color: #f1f8e9;
        }
        
        .patient-actions-container > a, 
        .patient-actions-container > button {
            padding: 10px 15px;
            border-radius: 5px;
            color: white;
            text-align: center;
            font-size: 1em;
            transition: background-color 0.3s ease;
            text-decoration: none; 
            border: none; 
            cursor: pointer;
            flex-grow: 1; 
            min-width: 100px; 
        }

        .patient-actions-container .back-btn { background-color: #4CAF50; } 
        .patient-actions-container .back-btn:hover { background-color: #45a049; } 

        .patient-actions-container .delete-patient-btn { background-color: #f44336; } 
        .patient-actions-container .delete-patient-btn:hover { background-color: #d32f2f; } 

        .patient-actions-container .edit-btn { background-color: #ff9800; } 
        .patient-actions-container .edit-btn:hover { background-color: #f57c00; } 
        
        .treatment-history .actions a.edit-btn, 
        .treatment-history .actions button.delete-btn {
            padding: 8px 12px; 
            font-size: 0.9em;
            min-width: 80px; 
            margin-left: 5px; 
            margin-right: 5px;
        }

        .treatment-history .actions a.edit-btn { 
            background-color: #ffc107; 
            color: #333; 
        }
        .treatment-history .actions a.edit-btn:hover { 
            background-color: #e0a800; 
        }

        .treatment-history .actions button.delete-btn { 
            background-color: #6c757d; 
            color: white;
        }
        .treatment-history .actions button.delete-btn:hover { 
            background-color: #5a6268; 
        }

        .add-form, .edit-form { background-color: #f8f9fa; padding: 20px; border-radius: 5px; margin-top: 20px; border: 1px solid #dee2e6;}
        input[type="text"], input[type="number"], select, textarea {
            width: calc(100% - 22px); 
            padding: 10px;
            margin-top: 5px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box; 
        }
        .hero-section {
            text-align: center;
            padding: 60px 20px;
            background-color: #388e3c; 
            color: white;
            border-radius: 8px 8px 0 0; 
            margin-bottom: 30px; 
        }
        .hero-section h1 {
            color: white;
            margin-bottom: 15px;
            font-size: 2.5em;
            border-bottom: none;
        }
        .hero-section p {
            font-size: 1.2em;
            margin-bottom: 30px;
        }
        .cta-button {
            display: inline-block;
            padding: 12px 25px;
            background-color: #ffc107; 
            color: #333;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            font-size: 1.1em;
            transition: background-color 0.3s ease;
        }
        .cta-button:hover {
            background-color: #e0a800; 
            color: #333;
        }

        .section {
            margin-bottom: 40px;
            padding: 20px;
            background-color: #f1f8e9; 
            border-radius: 5px;
        }
        .section h2 {
            text-align: center;
            margin-bottom: 30px;
        }
        .doctors-grid, .services-grid, .contact-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        .doctor-card, .service-item {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            text-align: center;
        }
        .doctor-card img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 15px;
            border: 3px solid #388e3c;
        }
        .doctor-card h3 {
            color: #388e3c;
            margin-bottom: 5px;
        }
        .doctor-card p {
            font-size: 0.9em;
            color: #666;
        }
        .service-item {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .service-item i { 
            font-size: 2em;
            color: #388e3c;
        }
        .service-item h3 {
            margin-bottom: 0;
            color: #388e3c;
        }
        .contact-info-grid p {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
        }
        .contact-info-grid i { 
            font-size: 1.2em;
            color: #388e3c;
        }
        footer {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid #eee;
            font-size: 0.9em;
            color: #777;
        }

        @media (max-width: 768px) {
            .hero-section h1 {
                font-size: 2em;
            }
            .patient-section {
                flex-direction: column; 
            }
            .patient-info-container, .patient-actions-container {
                flex: none; 
                width: 100%; 
            }
            .patient-actions-container {
                flex-direction: column; 
                align-items: center;
            }
            .patient-actions-container > a, .patient-actions-container > button {
                width: 80%; 
                max-width: 300px; 
            }
            .doctors-grid, .services-grid, .contact-info-grid {
                grid-template-columns: 1fr; 
            }
        }
        /* باکس اعلان */
        .announcement-box {
            background-color: #fff7cc;
            border-left: 6px solid #ffc107;
        }
        .announcement-box p {
            font-size: 1.1em;
            color: #6b5e00;
            text-align: center;
        }

        /* کارت پزشکان */
        .doctor-card.enhanced {
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }
        .doctor-card.enhanced:hover {
            transform: translateY(-6px);
            box-shadow: 0 6px 18px rgba(0,0,0,0.15);
        }

        /* آیکون‌های خدمات */
        .icon-circle {
            width: 55px;
            height: 55px;
            background: #e8f5e9;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 26px;
        }

        /* انیمیشن ملایم */
        .bouncy {
            transition: transform 0.2s ease;
        }
        .bouncy:hover {
            transform: translateY(-4px);
        }

        /* جدول قیمت‌ها */
        .price-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        .price-table th {
            background-color: #dcedc8;
            padding: 12px;
            font-size: 1.1em;
        }
        .price-table td {
            padding: 12px;
            border: 1px solid #ddd;
            background: #fff;
        }
        .price-table tr:nth-child(even) td {
            background: #f9fbe7;
        }