﻿@import url('/assets/css/fontiran.css');

* {
	font-family: iransansdn, tahoma !important;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: iransansdn, tahoma !important;
	direction: rtl;
	margin: 0;
}

.container {
	padding-right: 20px;
}

.header {
	background: #f0f0f0;
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
	font-size: 1.5rem;
	font-weight: bold;
	text-decoration: none;
	color: black;
}

.profile {
	position: relative;
	cursor: pointer;
}

.profile img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.dropdown {
	position: absolute;
	left: 0;
	top: 50px;
	background: white;
	width: 120px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	display: none;
}

.dropdown ul {
	list-style: none;
}

.dropdown ul li {
	padding: 10px;
	cursor: pointer;
	text-align: center;
}

.dropdown ul li:hover {
	background: #eee;
}

.show {
	display: block;
}

.card {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	transition: 0.3s;
	width: 150px;
	height: 60px;
	background: #f0f0f0;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 16px;
	font-weight: bold;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
	color: black;
	transition: background 0.3s;
	margin-top: 20px;
	margin-bottom: 20px;
}

.card:hover {
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.button-nostyle {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

a {
	text-decoration: none;
	color: black;
}

.row {
	display: flex;
	gap: 15px;
}

.button {
	background-color: #e7e7e7;
	border: none;
	color: black;
	padding: 15px 20px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 2px;
	cursor: pointer;
}

.button-delete {
	background-color: #f44336;
	color: white;
}

.button-save {
	background-color: #008CBA;
	color: white;
}

input[type=number] {
	padding: 15px 10px;
	margin: 8px 0;
	box-sizing: border-box;
	-moz-appearance: textfield;
}

input[type=text] {
	padding: 15px 10px;
	margin: 8px 0;
	box-sizing: border-box;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}