
/* استایل برای container اصلی */
.date-input-container {
    display: flex;
    align-items: stretch;
    width: 100%; /* عرض کلی را تنظیم کنید */
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

/* استایل برای فیلد ورودی (کوچکتر) */
input.pdate {
    flex: 1;
    min-width: 0; /* برای جلوگیری از overflow */
    border: none;
    outline: none;
    padding: 8px 12px;
    text-align: center;
    margin: 0;
    height: auto;
}

/* استایل برای دکمه تقویم (بزرگتر) */
a.pcalBtn {
    flex: 0 0 60px; /* عرض ثابت برای دکمه */
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("pcal.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px; /* اندازه تصویر */
    background-color: #f8f9fa;
    border: none;
    border-left: 1px solid #ccc;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
    height: auto;
    margin: 0;
}

a.pcalBtn:hover {
    background-color: #e9ecef;
    box-shadow: none;
}

a.pcalBtn:focus {
    outline: none;
    background-color: #e9ecef;
}

input.valid {
	background-color: #e5fae2;
}

input.invalid {
	background-color: #fee5e7;
}

div.picker {
	direction: rtl;
	background-color: #fff;
	border: 2px solid #999999;
	position: absolute;
	padding: 3px;
	box-shadow: 1px 1px 2px rgba( 0, 0, 0, 0.3 );
	border-radius: 6px 0px 6px 6px;
}

div.picker table{
	border-collapse: collapse;
	border-spacing: 0px;
	border: 1px solid #bbb;
	background-color: #eee;
	font: 13px Tahoma;
}

div.picker td {
	width: 2em;
	border: 1px solid #bbb;
	text-align: center;
	padding: 0px;
}

div.picker div.navBack {
/*	float: right;
	uncommenting this line breaks IE display of element
	in some unknown situations !
*/
}

div.picker div.navBack a{
	float: right;
}

div.picker div.navFwd {
	float: left;
}

div.picker div.navFwd a {
	float: left;
}

div.picker span.navInfo {
	padding: 5px 0px;
	display: inline-block;
}

div.picker td.pickerHead a {
	padding: 5px;
}

div.picker td.pickerHead a.nav {
	display: block;
}

div.picker td.pickerHead a.monYear {
	display: inline-block;
	padding-left: 1px;
	padding-right: 1px;
}

div.picker a.weekday {
	display: block;
	padding: 2px 0px;
}

div.picker a.friday {
	background-color: #ffcccc;
}

div.picker a.selected {
	background-color: #CCFFCC;
}

div.picker a.today {
	background-color: #fff5cc;
}

div.picker td.calWeekdays {
	background-color: #BBBBBB;
	color: #FFFFFF;
	font-weight: bold;
	text-align: center;
	padding-top: 3px;
	padding-bottom: 2px;
}

div.picker td.pickerFoot a {
	display: block;
	padding: 2px;
}

div.picker a {
	text-decoration: none;
	color: #333;
	-moz-transition: all 0.1s cubic-bezier(0,1,1,0);
	-webkit-transition: all 0.1s cubic-bezier(0,1,1,0);
	-o-transition: all 0.1s cubic-bezier(0,1,1,0);
	transition: all 0.1s cubic-bezier(0,1,1,0);
}

div.picker a:hover {
	text-decoration: none;
	color: #004;
	background-color: #66CCFF;
}

div.monthYearPicker {
	background-color: #EEEEEE;
	border: solid 2px #999;
	border-radius: 3px;
	box-shadow: 1px 1px 2px rgba( 0, 0, 0, 0.3 );
	text-align: center;
	position: absolute;
	font: 13px Tahoma;
}

div.monthYearPicker a {
	text-decoration: none;
	color: #333;
	-moz-transition: all 0.1s cubic-bezier(0,1,1,0);
	-webkit-transition: all 0.1s cubic-bezier(0,1,1,0);
	-o-transition: all 0.1s cubic-bezier(0,1,1,0);
	transition: all 0.1s cubic-bezier(0,1,1,0);
	display: block;
	padding: 5px;
}

div.monthYearPicker a.selected {
	background-color: #CCFFCC;
}

div.monthYearPicker a:hover {
	text-decoration: none;
	color: #004;
	background-color: #66CCFF;
}
