body.Turbotra div#header #logo {
  background-image: url("../../../customImg/turbotra_black.svg");
}
.contentNavi .content .tabItem {
  max-width: 100%;
}
#content.village3 table#troops tbody.noPadding td { 
  padding-left: 0; 
  padding-right: 0;
}
#content.village3  table.vil_troops tbody.noPadding td {
  padding-left: 0; 
  padding-right: 0;
}

@font-face {
  font-family: 'IRYekan';
  src: url(../fonts/iranyekanweblight.eot?#) format("eot"), url(../fonts/iranyekanweblight.woff2) format("woff2"), url(../fonts/iranyekanweblight.woff) format("woff");
  font-weight: 300;
}

@font-face {
  font-family: 'IRYekan';
  src: url(../fonts/iranyekanwebregular.eot?#) format("eot"), url(../fonts/iranyekanwebregular.woff2) format("woff2"), url(../fonts/iranyekanwebregular.woff) format("woff");
  font-weight: 600;
}

@font-face {
  font-family: 'IRYekan';
  src: url(../fonts/iranyekanwebbold.eot?#) format("eot"), url(../fonts/iranyekanwebbold.woff2) format("woff2"), url(../fonts/iranyekanwebbold.woff) format("woff");
  font-weight: 900;
}

@font-face {
  font-family: 'Roboto';
  src: url(../fonts/robotolight.eot?#) format("eot"), url(../fonts/robotolight.woff2) format("woff2"), url(../fonts/robotolight.woff) format("woff");
  font-weight: 300;
}

@font-face {
  font-family: 'Roboto';
  src: url(../fonts/robotoregular.eot?#) format("eot"), url(../fonts/robotoregular.woff2) format("woff2"), url(../fonts/robotoregular.woff) format("woff");
  font-weight: 600;
}

@font-face {
  font-family: 'Roboto';
  src: url(../fonts/robotobold.eot?#) format("eot"), url(../fonts/robotobold.woff2) format("woff2"), url(../fonts/robotobold.woff) format("woff");
  font-weight: 900;
}

body.fa-IR {
    font-family: Roboto, IRYekan, IRANSans, Arial, Helvetica, Verdana, sans-serif;
}

.subNavi .normal .content .tabItem {
    padding: 8px 3px 0;
}

body.fa-IR div.sidebar div#sidebarBoxAllianceNoNews div.header div.boxTitle {
  height: 21px;
}

.rtl h1 {
  font-size: 18px;
}

.rtl h2 {
  font-size: 15px;
}

.rtl h4 {
  font-size: 14px;
}

.rtl h5 {
  font-size: 13px;
}

.rtl table td, .rtl table th {
  font-size: 13px;
}

.rtl div.fatal_error p.errorText {
  font-size: 16px;
}

.rtl .paymentPopupDialogWrapper .featureBooking h3 {
  font-size: 12px;
}

.rtl div#paymentWizard h4 {
  font-size: 13px;
}

.rtl .paymentPopupDialogWrapper .featureBooking h3 {
  font-size: 13px;
}

.rtl div#paymentWizard .header .tabButton .text {
  font-size: 13px;
}

.rtl div#paymentWizard .accountBalance {
  font-size: 13px;
}

.rtl .paymentPopupDialogWrapper .feature {
  font-size: 12px;
}

.rtl div#paymentWizard.plusSupport, .rtl div#paymentWizard.earnGold {
  font-size: 13px;
}

.rtl div#paymentWizard .buyGoldInfoStep .buyGoldInfoStepContent {
  font-size: 13px;
}

.rtl div.player table#villages td.name span.mainVillage {
  font-size: 12px;
}

.rtl div#build .statusMessage, .rtl div#build .errorMessage {
  font-size: 12px;
}

.rtl #sidebarBoxDailyquests .travianBirthdayRibbon div.headline {
  font-size: 15px;
}

body.rtl #reportWrapper > .header .headline.withQuickNavigation .subject {
  direction: rtl;
}

body.rtl #sidebarBoxActiveVillage .sidebarBoxInnerBox .header #villageNameField {
  direction: rtl;
}

body.rtl #sidebarBoxVillagelist .content ul li a .name {
  direction: rtl;
}

body.rtl div.player table#villages td.name {
  direction: rtl;
}

body.rtl div.sidebar div#sidebarBoxHero .header .playerName {
  direction: rtl;
}

body.rtl table.allianceMembers tbody td.player {
  direction: rtl;
}

body.rtl div.statistics table#player td.pla {
  direction: rtl;
}

/* body.rtl table tbody td {
  padding: 6px 9px 6px;
} */

body.rtl div#build.gid16 table.troop_details thead td:last-of-type {
  direction: rtl;
}

body.rtl div#build.gid16 table.troop_details thead a {
  direction: rtl;
}

body.rtl div.build .gid16 #raidList .listTitle {
  margin-top: 2px;
}

body.rtl div.build .gid16 #raidList div.addSlot button {
  margin-right: 5px;
}

body.rtl div.speechBubbleContainer {
  font-size: 10px;
}

.rtl .sidebar .sidebarBox .sidebarBoxInnerBox .header {
  font-size: 14px;
}

#statisticsV2 .recharts-layer {
  direction: rtl;
}

#statisticsV2 #populationRank, #statisticsV2 #resourceRank, #statisticsV2 #militaryStrengthRank, #statisticsV2 #culturePointsRank {
  display: none;
}

div.village1 table#movements div.mov {
  font-size: 12px;
}
.rtl div.village1 table#movements div.dur_r {
  font-size: 11px;
}

div.player .description1, div.player .description2 {
  overflow: hidden;
}

/* Active Event Sidebar */
.activeEventSidebar {
  margin: 5px 4px 3px;
  direction: rtl;
}
.aesBadge {
  font-size: 9px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  padding: 2px 0;
  border-radius: 3px 3px 0 0;
  letter-spacing: 0.5px;
}
.aesRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 8px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 1px solid;
  border-top: none;
  border-radius: 0 0 3px 3px;
  animation: aesPulse 2s ease-in-out infinite;
}
.aesName {
  font-size: 11px;
  font-weight: bold;
  color: #f5c842;
}
.aesTimer {
  font-size: 13px;
  font-weight: bold;
  font-family: monospace;
  color: #fff;
  letter-spacing: 0.5px;
}
@keyframes aesPulse {
  0%, 100% { box-shadow: 0 0 4px rgba(245,200,66,0.2); }
  50% { box-shadow: 0 0 10px rgba(245,200,66,0.5); }
}

/* Village Buff Timers */
.villageBuffTimers {
  margin: 4px 4px 2px;
}
.buffTimerRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 2px;
  direction: rtl;
}
.buffTimerRow:last-child {
  margin-bottom: 0;
}
.buffTimerRow.atk {
  background: linear-gradient(135deg, #5c1a1a, #7a2020);
  border: 1px solid #c0392b;
}
.buffTimerRow.def {
  background: linear-gradient(135deg, #1a3a5c, #1e4a7a);
  border: 1px solid #2980b9;
}
.buffTimerRow.spd {
  background: linear-gradient(135deg, #5c3a1a, #7a4e20);
  border: 1px solid #e67e22;
}
.buffTimerName {
  font-size: 10px;
  font-weight: bold;
}
.buffTimerRow.atk .buffTimerName {
  color: #f5c842;
}
.buffTimerRow.def .buffTimerName {
  color: #85c1e9;
}
.buffTimerRow.spd .buffTimerName {
  color: #f5b041;
}
.buffTimerTime {
  font-size: 12px;
  font-weight: bold;
  font-family: monospace;
  color: #fff;
  letter-spacing: 0.5px;
}

/* Password Show/Hide Toggle (RTL) */
#pwFieldContainer {
  display: inline-flex;
  align-items: center;
  width: 175px;
  border: 1px solid #c0c0c0;
  background: #fff;
  box-sizing: border-box;
  direction: rtl;
}
#pwFieldContainer:focus-within {
  border-color: #7eb5d6;
}
#pwFieldContainer input.text {
  flex: 1;
  min-width: 0;
  width: auto !important;
  border: none !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 2px 3px !important;
  margin: 0 !important;
  height: auto !important;
}
#pwFieldContainer .pw-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  cursor: pointer;
  color: #8b7e66;
  background: transparent;
  border: none;
  padding: 0 2px;
  transition: color 0.2s;
}
#pwFieldContainer .pw-toggle-btn:hover {
  color: #5a4e3a;
}
#pwFieldContainer .pw-toggle-btn .eye-show {
  display: block;
}
#pwFieldContainer .pw-toggle-btn .eye-hide {
  display: none;
}
#pwFieldContainer .pw-toggle-btn.active .eye-show {
  display: none;
}
#pwFieldContainer .pw-toggle-btn.active .eye-hide {
  display: block;
}