select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}


input.input-block-level{
	padding:20px;
}

.input-append input,
.input-prepend input,
.input-append select,
.input-prepend select,
.input-append .uneditable-input,
.input-prepend .uneditable-input {
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}

.input-prepend .add-on:first-child,
.input-prepend .btn:first-child {
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}

.input-append input,
.input-append select,
.input-append .uneditable-input {
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}

.input-append input + .btn-group .btn:last-child,
.input-append select + .btn-group .btn:last-child,
.input-append .uneditable-input + .btn-group .btn:last-child {
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}


.input-append .add-on:last-child,
.input-append .btn:last-child,
.input-append .btn-group:last-child > .dropdown-toggle {
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}

.input-prepend.input-append input,
.input-prepend.input-append select,
.input-prepend.input-append .uneditable-input {
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

.input-prepend.input-append input + .btn-group .btn,
.input-prepend.input-append select + .btn-group .btn,
.input-prepend.input-append .uneditable-input + .btn-group .btn {
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}

.input-prepend.input-append .add-on:first-child,
.input-prepend.input-append .btn:first-child {
  margin-right: -1px;
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}

.input-prepend.input-append .add-on:last-child,
.input-prepend.input-append .btn:last-child {
  margin-left: -1px;
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */

}

input.search-query {
  margin-bottom: 0;
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}

.form-search .input-append .search-query {
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}

.form-search .input-append .btn {
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}

.form-search .input-prepend .search-query {
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}

.form-search .input-prepend .btn {
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}

.table-bordered {
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}


.dropdown-menu {
  *border-right-width: 0;
  *border-bottom-width: 0;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;

}

.dropdown-submenu > .dropdown-menu {
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}

.dropup .dropdown-submenu > .dropdown-menu {
  -webkit-border-radius: 0 0 0 0;
     -moz-border-radius: 0 0 0 0;
          border-radius: 0 0 0 0;
}


/* === bootstrap button === */


.btn {
  text-shadow: none;
  background-image:none;
  border-color: none;
  border-bottom-color: none;
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
}

.btn {
	outline:0;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}


a.btn,.btn:focus {
	outline:0;
	
}

.btn-medium {
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

.btn-lg {
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

.btn-sm {
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

.btn-xs {
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}


.btn-default {
  color: #333333;
  background-color: #f8f8f8;
}


.btn-primary {
	outline:0;
  background: #1C0113;
}
.btn-primary:hover {
  background: #170110;
}

.btn-info {
  background: #5E9FA3;
}
.btn-info:hover {
  background: #569498;
}

.btn-success {
  background: #11766D;
}
.btn-success:hover {
  background: #0e6a62;
}

.btn-warning {
  background: #F0B300;
}
.btn-warning:hover {
  background: #e2a900;
}

.btn-danger {
  background: #a40b0b;
}
.btn-danger:hover {
  background: #990909;
}

.btn-inverse {
  background: #363636;
}
.btn-inverse:hover {
  background: #505050;
}

.btn-theme {
  color:#fff;
}

.btn-theme:hover,.btn-theme:focus,.btn-theme:active{
   color:#fff;
}



/* ===== Publication cards (added for Raziyeh's CV site) ===== */
.pub-card{
  background:#f7fafb;
  border:1px solid #e2edf0;
  border-radius:6px;
  padding:22px 20px;
  min-height:190px;
  margin-bottom:20px;
  transition:box-shadow .2s ease, transform .2s ease;
}
.pub-card:hover{
  box-shadow:0 6px 18px rgba(20,50,60,0.12);
  transform:translateY(-3px);
}
.pub-card .pub-tag{
  display:inline-block;
  padding:3px 11px;
  border-radius:12px;
  background:#85b0be;
  color:#fff;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.pub-card .pub-tag-alt{ background:#95cbdd; }
.pub-card .pub-tag-review{ background:#d99a2b; }
.pub-card h5{
  margin-top:14px;
  font-size:15px;
  line-height:1.4;
  color:#2b2b2b;
}
.pub-card p{
  color:#8a9aa0;
  font-size:12px;
  margin-top:8px;
}
.affiliation-badge{
  display:inline-block;
  padding:8px 16px;
  border:1px solid #dfe8ea;
  border-radius:20px;
  color:#5a6b70;
  font-size:13px;
  margin:6px;
}

/* ===== Readability fix: base text was too light gray (#777) ===== */
body{ color:#4a4a4a; }
.section p{ color:#4a4a4a; }

/* ===== About Me: robust stacked layout (prevents photo/text overlap regardless of column edits) ===== */
#section-about .about-row{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  max-width:760px;
  margin:0 auto 40px;
}
.about-photo{
  width:190px;
  height:190px;
  margin:0 auto 28px;
  flex-shrink:0;
}
.about-photo img,
.member-photo img{
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:cover;
  display:block;
  border-radius:50%;
  box-shadow:0 6px 22px rgba(20,50,60,0.18);
}
.member-photo{ overflow:hidden; }
.about-bio{ text-align:left; }
.about-bio p{
  font-size:19px;
  font-weight:600;
  line-height:1.75;
  color:#3a4a4e;
  margin-bottom:18px;
}

/* ===== Toolkit / Skills section ===== */
.skills-block{ margin-bottom:34px; }
.skills-block h4{
  font-weight:700;
  color:#2b2b2b;
  margin-bottom:14px;
  font-size:16px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.skill-chip{
  display:inline-block;
  padding:8px 16px;
  margin:5px;
  border-radius:8px;
  background:#eef5f7;
  border:1px solid #d7e6ea;
  color:#2f4144;
  font-size:14px;
  font-weight:600;
}

/* ===== Math/AI decorative accent ===== */
.math-accent{ display:block; margin:0 auto 24px; max-width:340px; }
.math-accent svg{ width:100%; height:auto; }

/* ===== Language select (native dropdown, compact and robust) ===== */
.navbar-header{ display:flex; align-items:center; gap:10px; flex-wrap:nowrap; }
.navbar-logo{ margin:0; }
.lang-dashboard{ display:flex; align-items:center; gap:6px; flex-shrink:0; }
.lang-globe-icon{ color:#fff; font-size:14px; opacity:.85; }
.lang-select{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.35);
  color:#fff;
  border-radius:6px;
  padding:5px 8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.03em;
  cursor:pointer;
  max-width:64px;
}
.lang-select option{ color:#111; background:#fff; }
@media (max-width:767px){
  .navbar-header{ flex-wrap:wrap; justify-content:flex-end; }
}

/* ===== RTL support when Persian is selected ===== */
html[lang="fa"] body{ direction:rtl; text-align:right; }
html[lang="fa"] .navbar-header{ flex-direction:row-reverse; }
html[lang="fa"] .nav.navbar-left{ float:right !important; }

/* ===== Contact icon grid ===== */
.contact-icon-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(140px, 1fr));
  gap:14px;
  max-width:760px;
  margin:0 auto;
  justify-content:center;
}
.contact-icon{
  display:flex;
  align-items:center;
  gap:9px;
  padding:12px 18px;
  border-radius:8px;
  border:1px solid #d7e6ea;
  background:#f7fafb;
  color:#2f4144 !important;
  font-size:14px;
  font-weight:600;
  text-decoration:none !important;
  transition:all .2s ease;
}
.contact-icon i{ font-size:18px; color:#85b0be; }
.contact-icon:hover{
  background:#2f4144;
  color:#fff !important;
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(20,50,60,0.18);
}
.contact-icon:hover i{ color:#95cbdd; }
@media (max-width:600px){
  .contact-icon{ padding:10px 14px; font-size:13px; }
}

/* ===== Publication title links ===== */
.pub-card h5 a{
  color:#2b2b2b;
  text-decoration:none;
}
.pub-card h5 a:hover{
  color:#2f4144;
  text-decoration:underline;
}
.pub-card h5 a i{ color:#85b0be; margin-left:4px; }

/* ===== Certifications / courses cards ===== */
.cert-card{
  border:1px solid #e2edf0;
  border-radius:6px;
  padding:18px 20px;
  background:#f7fafb;
  margin-bottom:16px;
}
.cert-card a{ font-weight:700; color:#2f4144; }
.cert-card .cert-meta{ color:#8a9aa0; font-size:12px; margin-top:6px; }

/* ===== Experience timeline (teaching / freelance / activities) ===== */
.exp-timeline{ position:relative; padding-left:26px; border-left:2px solid #d7e6ea; }
.exp-item{ position:relative; padding-bottom:28px; }
.exp-item:last-child{ padding-bottom:0; }
.exp-item::before{
  content:"";
  position:absolute; left:-32px; top:4px;
  width:10px; height:10px; border-radius:50%;
  background:#85b0be; border:3px solid #fff;
  box-shadow:0 0 0 1px #85b0be;
}
.exp-item .exp-date{
  font-size:12px; text-transform:uppercase; letter-spacing:.05em;
  color:#85b0be; font-weight:700;
}
.exp-item h4{ margin:6px 0 2px; font-size:16px; }
.exp-item p{ color:#4a4a4a; font-size:14px; margin:4px 0 0; }

/* ===== Hero quick-contact (Email + Scholar, top of site) ===== */
.hero-quick-contact{
  display:flex;
  justify-content:center;
  gap:16px;
  margin-top:22px;
}
.hero-quick-contact a{
  width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.5);
  color:#fff;
  font-size:16px;
  transition:all .2s ease;
}
.hero-quick-contact a:hover{
  background:rgba(255,255,255,0.15);
  transform:translateY(-2px);
}

/* ===== Contact icon grid: responsive row count ===== */
@media (max-width:700px){
  .contact-icon-grid{ grid-template-columns:repeat(2, minmax(120px, 1fr)); }
}
