.calendar-date {
display: inline-block;
text-align: center;
border: 1px solid #ccc;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
font-family: YekanBakht;
}
/* بخش ماه */
.calendar-month {
background-color: #e63946; /* رنگ هدر تقویم */
color: #fff;
font-weight: bold;
padding: 4px 8px;
font-size: 0.9rem;
letter-spacing: 1px;
}
.calendar-month-all {
background: linear-gradient(
to bottom,
#a8e063 0%, /* سبز لیمویی روشن برای هایلایت بالا */
#56ab2f 50%,/* سبز اصلی */
#3b7d1a 100%/* سبز تیره‌تر برای عمق پایین */
);
color: #000000;
/* خط دور متن برای مرورگرهای WebKit (Chrome, Edge, Safari) */
-webkit-text-stroke: 1px #fff;
/* سایه‌های چندگانه برای شبیه‌سازی خط دور در همه مرورگرها */
text-shadow:
-1px -1px 0 #aaa,
 1px -1px 0 #aaa,
-1px1px 0 #aaa,
 1px1px 0 #aaa;
font-weight: bold;
padding: 4px 8px;
font-size: 0.9rem;
}
/* بخش روز */
.calendar-day {
background: linear-gradient(to bottom, #ffffff, #e6e6e6);
color: #000;
font-size: 2rem;
font-weight: bold;
padding: 8px 12px;
}
.calendar-day-all {
background: linear-gradient(to bottom, #ffffff, #e6e6e6);
color: #e53935;
font-weight: bold;
padding: 8px 12px;
}
/* ====== Badge Styles ====== */
.badge {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.25rem 0.6rem;
font-size: 0.75rem;
font-weight: 600;
border-radius: 9999px;
line-height: 1;
white-space: nowrap;
}
/* رنگ‌های آماده */
.badge-red {
background-color: #ef4444; /* قرمز Tailwind */
color: #fff;
}
.badge-green {
background-color: #22c55e; /* سبز Tailwind */
color: #fff;
}
.badge-blue {
background-color: #3b82f6; /* آبی Tailwind */
color: #fff;
}
.badge-yellow {
background-color: #facc15; /* زرد Tailwind */
color: #000;
}
.badge-purple {
background-color: #a855f7; /* بنفش Tailwind */
color: #fff;
}
.badge-gradient {
background: linear-gradient(90deg, #ec4899, #8b5cf6);
color: #fff;
}
.ribbon {
width: 150px;
height: 150px;
overflow: hidden;
position: absolute;
top: -10px;
left: -10px;
pointer-events: none; /* تا کلیک‌ها روی لینک زیرش کار کنند */
}
.ribbon span {
position: absolute;
display: flex; /* برای وسط‌چین کردن متن */
align-items: center;
justify-content: center;
width: 230px;
height: 32px;
background: linear-gradient(135deg, #ff9a9e, #f6416c);
color: #fff;
font: 700 14px/1 'Lato', sans-serif;
text-transform: uppercase;
letter-spacing: 1px;
box-shadow: 0 4px 8px rgba(0,0,0,0.35);
transform: rotate(-45deg);
top: 38px; /* تنظیم دقیق برای وسط افتادن متن */
left: -40px;
border-top: 1px solid rgba(255,255,255,0.6);
border-bottom: 1px solid rgba(0,0,0,0.2);
}
.ribbon span::before,
.ribbon span::after {
content: "";
position: absolute;
border: 5px solid #f6416c;
}
.ribbon span::before {
top: 100%;
left: 0;
border-left-color: transparent;
border-bottom-color: transparent;
}
.ribbon span::after {
bottom: 100%;
right: 0;
border-right-color: transparent;
border-top-color: transparent;
}
.btn-grad {
display: inline-block;
padding: 10px 20px;
font-size: 14px;
font-weight: 600;
color: #fff;
text-decoration: none;
border-radius: 6px;
transition: all 0.3s ease;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
/* Book → آبی */
.btn-grad.book {
background: linear-gradient(135deg, #4facfe, #00f2fe);
}
/* ماه جاری انتخاب شده → قرمز */
.btn-grad.current-month {
background: linear-gradient(135deg, #f85032, #e73827);
}
/* سایر ماه‌ها → سبز */
.btn-grad.other-month {
background: linear-gradient(135deg, #43e97b, #38f9d7);
}
/* افکت هاور */
.btn-grad:hover {
transform: translateY(-2px);
box-shadow: 0 6px 12px rgba(0,0,0,0.25);
filter: brightness(1.05);
}
/* افکت کلیک */
.btn-grad:active {
transform: translateY(0);
box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
.btn-grad.rainbow {
position: relative;
display: inline-block;
padding: 10px 20px;
font-size: 14px;
font-weight: 600;
color: #fff;
text-decoration: none;
border-radius: 8px;
background: #020024;
background: linear-gradient(68deg,rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);
z-index: 0;
overflow: hidden;
}
/* لایه بوردر رنگین‌کمانی */
.btn-grad.rainbow::before {
content: "";
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: conic-gradient(
red, orange, yellow, lime, cyan, blue, magenta, red
);
border-radius: 10px;
z-index: -1;
animation: spin 3s linear infinite;
}
/* ماسک برای ایجاد بوردر فقط در لبه‌ها */
.btn-grad.rainbow::after {
content: "";
position: absolute;
top: 2px;
left: 2px;
right: 2px;
bottom: 2px;
background: inherit;
border-radius: 6px;
z-index: -1;
}
/* انیمیشن چرخش */
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* پایه جدول */
.table {
width: 100%;
max-width: 100%;
margin-bottom: 1rem;
color: #212529;
background-color: transparent;
border-collapse: collapse; /* برای خطوط تمیزتر */
}
/* سلول‌ها */
.table th,
.table td {
padding: 0.75rem;
vertical-align: top;
border-top: 1px solid #dee2e6;
}
/* عنوان جدول */
.table thead th {
vertical-align: bottom;
border-bottom: 2px solid #dee2e6;
background-color: #f8f9fa; /* هدر کمی روشن */
}
/* فاصله بین tbody ها */
.table tbody + tbody {
border-top: 2px solid #dee2e6;
}
/* پس‌زمینهٔ داخلی برای جدول تو در تو */
.table .table {
background-color: #fff;
}
/* اندازه کوچک‌تر */
.table-sm th,
.table-sm td {
padding: 0.3rem;
}
/* راه‌راه */
.table-striped tbody tr:nth-of-type(odd) {
background-color: rgba(0, 0, 0, 0.05);
}
/* هاور اختیاری (اگر خواستی فعال کن) */
.table-hover tbody tr:hover {
background-color: rgba(0, 0, 0, 0.075);
}
.table-bordered {
border: 1px solid #dee2e6;
}
.table-bordered th,
.table-bordered td {
border: 1px solid #dee2e6;
}
.table-bordered thead th,
.table-bordered thead td {
border-bottom-width: 2px;
}
/* ریسپانسیو اسکرول افقی */
.table-responsive {
display: block;
width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
/* افکت هاور روی ردیف‌های جدول */
.table-hover tbody tr:hover {
background-color: rgba(0, 123, 255, 0.1); /* آبی ملایم */
transition: background-color 0.2s ease-in-out;
cursor: grab; /* نشانگر موس به حالت کلیک‌پذیر */
}
.btn-group .btn-mini-modern {
display: inline-block;
font-size: 0.8rem;
padding: 0.3rem 0.6rem;
border-radius: 4px;
color: #fff;
text-decoration: none;
cursor: pointer;
transition: background 0.3s ease-in-out, transform 0.2s ease;
}

.btn-group .btn-mini-modern:hover {
transform: translateY(-2px);
opacity: 0.9;
}
/* رنگ‌ها بر اساس ترتیب */
.btn-group .btn-mini-modern:nth-of-type(1) {
background: linear-gradient(45deg, #1e90ff, #00bfff); /* آبی */
}
.btn-group .btn-mini-modern:nth-of-type(2) {
background: linear-gradient(45deg, #28a745, #5cd85c); /* سبز */
}
.btn-group .btn-mini-modern:nth-of-type(3) {
background: linear-gradient(45deg, #ff7f50, #ffb347); /* نارنجی */
}
.center {
text-align: center;
}
.pagination {
display: inline-block;
}
.pagination a {
color: black;
float: right;
padding: 8px 16px;
text-decoration: none;
transition: background-color .3s;
border: 1px solid #ddd;
margin: 0 4px;
}
.pagination a.active {
background-color: #4CAF50;
color: white;
border: 1px solid #4CAF50;
}
.pagination a:hover:not(.active) {background-color: #ddd;}
/* انیمیشن تصاویر */
.fade-in {
opacity: 0;
transform: scale(0.85); /* کمی کوچک‌تر شروع کند */
transition:
opacity 1.2s ease-out,
transform 1.2s ease-out; /* مدت و easing نرم‌تر */
}
.fade-in.is-loaded {
opacity: 1;
transform: scale(1); /* به اندازه واقعی برسد */
}
/* کارت کلی */
.tour-card {
background: linear-gradient(145deg, #fdfdfd, #f3f6fa); /* گرادیانت ملایم */
border-radius: 12px;
box-shadow:
0 4px 8px rgba(0, 0, 0, 0.05),
0 8px 20px rgba(0, 0, 0, 0.08); /* سایه سه‌بعدی */
overflow: hidden;
margin-bottom: 1.5rem;
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tour-card:hover {
transform: translateY(-4px);
box-shadow:
0 6px 12px rgba(0, 0, 0, 0.06),
0 12px 28px rgba(0, 0, 0, 0.12);
}
/* هدر کارت */
.tour-card-header {
background: linear-gradient(135deg, #e8eef5, #dce6f0); /* گرادیانت ملایم آبی-خاکستری */
padding: 0.85rem 1.2rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
font-size: 1.05rem;
font-weight: 700;
color: #2c3e50;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6); /* افکت متنی ظریف */
letter-spacing: 0.3px;
box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.4);
}
/* بدنه کارت */
.tour-card-body {
padding: 1.2rem;
font-size: 0.96rem;
line-height: 1.8;
color: #444;
background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(249,250,252,0.95));
}
.tour-card-body p {
margin: 0;
white-space: pre-line; /* حفظ خطوط توضیحات طولانی */
}
/* اسکرول نرم برای توضیحات خیلی طولانی */
.tour-card-body {
max-height: 400px; /* در صورت طولانی بودن متن */
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: #c1c7cd transparent;
}
.tour-card-body::-webkit-scrollbar {
width: 6px;
}
.tour-card-body::-webkit-scrollbar-thumb {
background-color: #c1c7cd;
border-radius: 3px;
}
/* ===== استایل پایه برای همه لیست‌ها ===== */
.dates-list {
display: flex;
flex-direction: column;
gap: 0.8rem;
font-family: inherit;
}
/* آیتم‌ها - حالت معمولی */
.dates-list .date-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.9rem 1.2rem;
border-radius: 14px;
background: linear-gradient(135deg, #ffffff, #f5f7fa);
border: 1px solid #e0e0e0;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
transition: all 0.3s ease;
cursor: pointer;
font-size: 0.95rem;
color: #333;
text-decoration: none;
animation: fadeIn 0.4s ease forwards;
}
/* افکت Hover در حالت معمولی */
.dates-list .date-item:hover {
transform: translateY(-2px);
box-shadow: 0 6px 14px rgba(0,0,0,0.08);
background: linear-gradient(135deg, #fdfdfd, #eef2f7);
}
/* افکت کلیک */
.dates-list .date-item:active {
transform: scale(0.98);
}
/* آیتم فعال در حالت معمولی */
.dates-list .date-item.active {
border: 2px solid #4caf50;
background: linear-gradient(135deg, #e8f5e9, #f1fff3);
position: relative;
box-shadow: inset 0 0 10px rgba(76,175,80,0.15);
}
.dates-list .date-item.active::after {
content: '✔';
position: absolute;
left: 12px;
font-size: 1.2rem;
color: #4caf50;
}
/* ===== حالت داخل مودال شیشه‌ای ===== */
.glass-modal .dates-list .date-item {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
border: 1px solid rgba(255, 255, 255, 0.25);
color: #fff;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* Hover در حالت شیشه‌ای */
.glass-modal .dates-list .date-item:hover {
background: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
/* آیتم فعال در حالت شیشه‌ای */
.glass-modal .dates-list .date-item.active {
border: 2px solid #4caf50;
background: rgba(76, 175, 80, 0.25);
}
.glass-modal .dates-list .date-item.active::after {
content: '✔';
position: absolute;
left: 12px;
font-size: 1.2rem;
color: #4caf50;
}
/* دکمه نمایش */
.show-dates-btn {
background: #fff;
border: 2px solid #007b83;
color: #007b83;
padding: 0.8rem 1.2rem;
border-radius: 12px;
cursor: pointer;
text-align: center;
font-weight: bold;
max-width: 250px;
margin: 1rem auto;
transition: all 0.3s ease;
}
.show-dates-btn:hover {
background: #007b83;
color: #fff;
}
/* پس‌زمینه مودال */
.glass-modal-overlay {
display: none;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0,0,0,0.4);
backdrop-filter: blur(6px);
z-index: 9999;
justify-content: center;
align-items: center;
}
/* جعبه مودال */
.glass-modal {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border-radius: 16px;
border: 1px solid rgba(255, 255, 255, 0.3);
padding: 1rem;
width: 90%;
max-width: 600px;
color: #fff;
box-shadow: 0 8px 32px rgba(0,0,0,0.2);
animation: fadeIn 0.3s ease;
}
/* هدر مودال */
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid rgba(255,255,255,0.2);
padding-bottom: 0.5rem;
margin-bottom: 1rem;
}
.modal-header h2 {
font-size: 1.2rem;
margin: 0;
}
.close-btn {
background: none;
border: none;
font-size: 1.5rem;
color: #fff;
cursor: pointer;
}
/* انیمیشن ورود */
@keyframes fadeIn {
from {opacity: 0; transform: translateY(-10px);}
to {opacity: 1; transform: translateY(0);}
}
.hiddenreqmod {
display: none !important;
}
.modal-overlay {
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0, 0, 0, 0.4);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
.modal {
background: rgba(255, 255, 255, 0.4);
backdrop-filter: blur(2px);
border-radius: 20px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
width: 90%;
max-width: 1000px;
max-height: 90vh;
overflow-y: auto;
padding: 20px;
display: flex;
flex-direction: column;
}
@media (min-width: 768px) {
.modal {
flex-direction: row;
gap: 20px;
}
}
.accordion {
border: 1px solid #ccc;
border-radius: 10px;
margin-bottom: 10px;
overflow: hidden;
}
.accordion input {
display: none;
}
.accordion label {
display: block;
padding: 10px;
background: linear-gradient(to left, #1F8D23, #0c85c7);
color: white;
font-weight: bold;
cursor: pointer;
}
.accordion .content {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
background: white;
padding: 0 10px;
}
.accordion input:checked ~ .content {
max-height: 500px;
padding: 10px;
}
.form-section {
flex: 1;
display: flex;
flex-direction: column;
gap: 10px;
}
.info-section {
flex: 1;
}
input, textarea {
padding: 10px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 14px;
}
.counter {
display: flex;
align-items: center;
gap: 10px;
}
.counter button {
width: 30px;
height: 30px;
border-radius: 50%;
border: none;
font-size: 18px;
color: white;
background: linear-gradient(to left, #1F8D23, #0c85c7);
cursor: pointer;
}
.submit-btn {
padding: 12px;
background: linear-gradient(to left, #1F8D23, #0c85c7);
color: white;
font-weight: bold;
border: none;
border-radius: 10px;
cursor: pointer;
}
.open-modal-btn {
margin: 20px auto;
display: block;
padding: 10px 20px;
background: linear-gradient(to left, #1F8D23, #0c85c7);
color: white;
border: none;
border-radius: 10px;
font-size: 16px;
cursor: pointer;
}
.close-btn {
position: absolute;
top: 10px;
right: 10px;
background: red;
color: white;
border: none;
border-radius: 50%;
width: 30px;
height: 30px;
font-size: 18px;
cursor: pointer;
}
input, textarea, select {
width: 100%;
padding: 10px;
margin-bottom: 15px;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
}
/* اطلاعات پرواز */

.flight-info {
padding: 15px;
color: #333;
line-height: 1.6;
}
.fliinfohead {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
font-size: 1.1em;
font-weight: bold;
}
.plane-icon {
font-size: 1.2em;
}
.details {
display: flex;
/* Removed position: relative here if not explicitly needed for other elements */
}
.timeline-indicator {
position: relative;
width: 20px; /* Space for the timeline */
flex-shrink: 0;
margin-left: 5px; /* Space between timeline and text */
/* We need to ensure this container is tall enough to encompass the dots and line */
/* A common technique is to make it as tall as the content, or just let dots dictate height */
}
.timeline-indicator .line {
position: absolute;
right: 9px; /* Horizontal position of the line */
width: 2px;
background-color: #ff6600; /* Orange color */
border-radius: 1px;
/*
Calculation for top and height:
dot-origin top is 2px, height 8px. Line should start after dot, so top = 2px + 8px = 10px.
dot-destination top is 140px. Line should end before dot, so its bottom should align with dot-destination's top.
So, height = (dot-destination top) - (line top)
height = 140px - 10px = 130px
*/
top: 10px; /* Start after the origin dot */
height: 130px; /* End before the destination dot - this value needs careful adjustment */
}
.timeline-indicator .dot-origin,
.timeline-indicator .dot-destination {
position: absolute;
right: 6px; /* Horizontal position of the dots, aligned with the line */
width: 8px;
height: 8px;
background-color: #ff6600; /* Orange color */
border-radius: 50%;
z-index: 1; /* Ensure dots are above the line */
}
.timeline-indicator .dot-origin {
top: 2px; /* Vertical position for the origin dot */
}
.timeline-indicator .dot-destination {
top: 140px; /* Vertical position for the destination dot (approximate - adjust as needed) */
}
.fliinfocontent {
flex-grow: 1;
}
.date-time {
margin-bottom: 5px;
	color: #0099FF; font-weight: bold
}
.duration
{
font-size: 10pt;
margin-bottom: 5px;
	color: #008000; font-weight: bold
}
.location {
font-size: 0.9em;
color: #666;
}
.flight-type {
font-size: 0.8em;
color: #03c;
}
.origin-text, .destination-text {
	font-size: 1.2em;
font-weight: bold;
margin-bottom: 5px;
}
.vakilian12 { 
  text-shadow: 0 1px 0 #ffffff,
               0 2px 0 #c9c9c9,
               0 3px 0 #bbb,
               0 4px 0 #b9b9b9,
               0 5px 0 #aaa,
               0 6px 1px rgba(0,0,0,.1),
               0 0 5px rgba(0,0,0,.1),
               0 1px 3px rgba(0,0,0,.3),
               0 3px 5px rgba(0,0,0,.2),
               0 5px 10px rgba(0,0,0,.25),
               0 10px 10px rgba(0,0,0,.2),
               0 20px 20px rgba(0,0,0,.15);
 -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
