﻿.remove-default-btn {
	background-color: transparent;
	border: none;
	box-shadow: none;
}

.edit-color {
	color: #333;
}

.post-link {
	text-decoration: none;
}

.post-text {
	padding-top: 0.5rem;
}

.post-img {
	float: left;
	margin-right: 1rem;
}

.post-image {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin-bottom: 10px;
}

.child-comment {
	margin-left: 2rem;
}

.notification-badge {
	transition: 0.3s;
}

.notification-badge:hover {
	cursor: pointer;
	opacity: 0.75;
	transition: 0.3s;
}
#notification-container {
  max-height: 300px; /* تحدد الحد الأقصى للارتفاع */
  overflow-y: auto;  /* تفعيل التمرير الرأسي إذا زاد المحتوى */
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: absolute; /* لو القائمة منبثقة */
  width: 300px;       /* عرض مناسب */
  z-index: 1000;      /* فوق العناصر الأخرى */
  padding: 10px;
}



.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-content {
	position: absolute;
	background-color: #f1f1f1;
	min-width: 350px;
	box-shadow: 0px 8px 8px 0px rgba(0,0,0,0.2)
	z-index: 1;
	font-size: 0.9rem;
}

.dropdown-content a {
	color: #000;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.dropdown-content a:hover {
	background-color: #ddd;
}

.dropdown-item-parent {
	position: relative;
	display: block;
}

.dropdown-item-close {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 1.8rem;
	padding-right: 5px;
	transition: 0.3s
}

.dropdown-item-close:hover {
	color: rgb(180, 25, 25);
	transition: 0.3s;
	cursor: pointer;
}

.inbox-icon-container {
	margin-right: 15px;
}

.inbox-icon {
	color: #333;
	transition: 0.5s;
}

.inbox-icon:hover {
	transition: 0.5s;
}

.empty-text {
	color: #777;
	font-size: 1.5rem;
	text-align: center;
}

.sent-message {
	background-color: #f3f3f3;
	border-radius: 30px;
	padding: 10px 25px;
	width: 35%;
}

.received-message {
	background-color: rgb(1, 196, 255);
	color: #fff;
	border-radius: 30px;
	padding: 10px 25px;
	width: 35%;
}

.message-receiver-container {
	margin-left: auto;
	margin-right: 0;
}

.message-image {
	border-radius: 10px;
	max-width: 35%;
	height: auto;
}

.inbox-icon {
	margin-right: 5px;
}

.share-btn {
	cursor: pointer;
}

.shared-post {
	margin-left: 30px;
}

.body a {
	text-decoration: none;
}







.comment-image {
    width: 50px;  /* ??? ?????? */
    height: 50px;  /* ?????? ?????? */
    object-fit: cover;  /* ???? ?????? ???? ?????? ???? ????? */
    border-radius: 5px;  /* ????? ??????? ?????? */
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.image-preview {
    position: relative;
    width: 250px;
    height: 250px;
    flex: 0 0 auto;
}

.image-preview img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    border: 1px solid #999;
    border-radius: 3px;
    display: block;
}

/* ????? ????? ??? ??????? */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* ?????? ??????? */
.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px black;
    cursor: pointer;
}

.remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    line-height: 18px;
}



