@font-face {
	font-family: 'Yekan';
	src: url( 'Yekan.eot' );
	src: url( 'Yekan.eot?#iefix' ) format( 'embedded-opentype' ),
		url( 'Yekan.woff2' ) format( 'woff2' ),
		url( 'Yekan.woff' ) format( 'woff' ),
		url( 'Yekan.ttf' ) format( 'truetype' ),
		url( 'Yekan.svg#Yekan' ) format( 'svg' );
	font-weight: normal;
	font-style: normal;
}

body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
  direction: rtl;
}

body {
  font-family: Yekan, sans-serif;
  background: linear-gradient(to bottom, #800080, #4b0082);
  color: #ffffff;
}

.container-box {
  background-color: #ffffff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 5px;
  margin-top: 30px;
  color: #000;
}

.navbar {
  background-color: #222222;
}

.navbar .nav-link {
  color: #ffffff;
}

.form-control {
  background-color: #eee;
  color: #333;
  border-color: #800080;
}

.input-group-text {
  background-color: #eee;
  border-color: #800080;
}

.btn-primary {
  background-color: #ff4081;
  border-color: #ff4081;
}

.btn-primary:hover {
  background-color: #ff4081;
  border-color: #ff4081;
}

.form-label {
	color: #3D3D3D;
}

.email-input-container {
  position: relative;
}


.email-input-container .input-group-text {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding-right: 10px;
  background-color: #eee;
  border-color: #800080;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.redfont{
	color:#ff0000;
}

.bg-light-red{
	color:#ff7373;
}


/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: right;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
  background-color: #fff;
  color: #333;
  border-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}


/* Style the tab content */
.tabcontent {
	display: none;
	padding: 16px 12px;
	border: 1px solid #ccc;
	border-top: none;
	overflow-y: auto;
	 /*max-height: 450px*/
}

/* Style the tab buttons */
.tablinks {
	background-color: #f1f1f1;
	color: #333;
	padding: 8px 16px;
	border: 1px solid #ccc;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	font-weight: bold;
}

/* Style the active tab button */
.tablinks.active {
	background-color: #fff;
	color: #000;
	border-bottom-color: transparent;
}

/* Modal container */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

/* Modal content */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  text-align: center;
  position: relative;
  color: #000;
}

/* Close button */
.close {
  color: #000;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


.modal {
  z-index: 9999;
}

.modal-content input[type="checkbox"] {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

.modal-content label[for="notify-user"] {
  display: inline-block;
  vertical-align: middle;
}


.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.pagination a {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  color: #fff;
  background-color: #6f42c1;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
}

.pagination a.active {
  background-color: #fff;
  color: #6f42c1;
}

.pagination a:hover {
  background-color: #5e35b1;
}

.pagination .disabled {
  opacity: 0.5;
  pointer-events: none;
}

#messages-table td.message-text {
  max-width: 100px;
  word-wrap: break-word;
  white-space: pre-wrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#messages-table th.sender,
#messages-table td.sender {
  width: 80px;
}

/* Set the width of the "Action" column to 50 pixels */
#messages-table th.action,
#messages-table td.action {
  width: 50px;
}

/* Set the maximum width of the "Message" column to 500 pixels */
#messages-table td.message-text {
  max-width: 500px;
}

/* Use the remaining width of the table for the "Message" column */
#messages-table td.message-text {
  width: calc(100% - 80px - 50px);
}