﻿/* #region Css Reset */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #E1DDD7;
}

div, span, p, a, h1, h2, h3, input, textarea, td {
  font-family: Arial;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  outline: 0
}

img {
  margin: 0;
  padding: 0;
  border: 0
}

:focus {
  outline: 0
}
/* #endregion */

/*#region Css usefull */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.clear {
  clear: both
}

.hidden {
  display: none;
}
/*#endregion */

#user-and-logo-wrapper {
  background-color: #272E41;
}

/*#region user */
#user-wrapper {
  background-color: #272E41;
  width: 100%;
  height: 32px;
}

#user-name {
  float: right;
  padding-top: 3px;
  padding-right: 15px;
  font-size: 18px;
  color: #fff;
}
/*#endregion */

/*#region Logo */
#logo-wrapper {
  background-color: #272E41;
  width: 100%;
  height: 42px;
}

#logo {
  float: left;
  padding-left: 15px;
  width: 200px;
  height: 36px;
}

#line-under-logo {
  background-color: #5F6F81;
  height: 1px;
  width: 100%;
}
/*#endregion */

/*#region School Level */
#level-wrapper {
  background-color: #424D5E;
  width: 100%;
  height: 40px;
}

#current-level {
  float: right;
  padding-top: 7px;
  padding-right: 15px;
  font-size: 20px;
  color: #fff;
}

#institute-completed {
  float: left;
  padding-top: 10px;
  padding-left: 15px;
  font-size: 20px;
  color: #fff;
}

#line-under-level {
  background-color: #272E41;
  height: 3px;
  width: 100%;
}
/*#endregion */

/*#region Word Subject*/
#word-subject-wrapper {
  padding-top: 15px;
  width: 100%;
}

#sound-icon {
  position: relative;
  top: 2px;
  float: left;
  padding-left: 15px;
}

#word-subject {
  float: left;
  padding-top: 5px;
  padding-left: 10px;
  font-size: 28px;
}

#line-under-word-subject-wrapper {
  padding-left: 70px;
}

#line-under-word-subject {
  float: left;
  background-color: #B5ABA5;
  height: 2px;
  width: 100%;
}
/*#endregion */

/*#region Word Subject Nikud */
#heb-taatik-wrapper {
  width: 100%;
  height: 45px;
}

#heb-taatik {
  position: relative;
  top: -3px;
  float: left;
  padding-left: 74px;
  font-size: 24px;
  color: #352B25;
}
/*#endregion */

/*#region Options */
#options-wrapper {
  padding: 0 25px;
}

.option {
  margin-bottom: 12px;
  width: 100%;
  background-color: #fff;
  border: 2px solid #999;
  border-radius: 10px;
  font-size: 18px;
}

.option-mark {
  padding: 5px 7px 0 4px;
  float: right;
  width: 30px;
  height: 30px;
}

.option-value {
  padding: 10px 5px;
  float: right;
  width: 170px;
  text-align: right;
}

.option-modify-wrapper {
  float: left;
  width: 110px;
  height: 33px;
  padding-top: 5px;
}

.option-modify-from {
  background-image: url('/images/option-from-gray-bg.jpg');
  margin-left: 9px;
  color: #555;
}

.option-modify-to-green {
  background-image: url('/images/option-to-green-bg.jpg');
  color: #353;
}

.option-modify-to-red {
  background-image: url('/images/option-to-red-bg.jpg');
  color: #533;
}

.option-modify-arrow {
  float: left;
  width: 17px;
  height: 14px;
  padding: 8px 1px 0;
}

.option-modify-value {
  float: left;
  width: 41px;
  height: 26px;
  padding-top: 7px;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
}

.un-selected-option {
  background-color: #D1CDC7;
  border: 2px solid #C1BDB7;
}
/*#endregion */

/*#region Continue button */
#continue-wrapper {
  text-align: center;
  width: 100%;
  padding: 5px 0 15px;
}

#continue-btn {
  width: 100px;
  margin: 0 auto;
  background-color: #2D80E0;
  color: #fff;
  font-size: 22px;
  padding: 18px 22px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  font-weight: bold;
}
/*#endregion */


/*#region Login */
#login-wrapper {
  width: 100%;
}

#login-div {
  width: 200px;
  margin: 20px auto 0;
}

#login-title {
  font-size: 24px;
  width: 200px;
  margin: 50px auto 0;
  text-align: center;
}

#login-input {
  width: 200px;
  padding: 12px 16px;
  border: 2px solid #666; /* אפור כהה */
  border-radius: 8px; /* פינות מעוגלות */
  font-size: 20px; /* פונט גדול */
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
/*#endregion*/








/*#region [CSS] rotate Card */
.flip-card {
  width: 340px;
  height: 45px;
  perspective: 1000px;
  cursor: pointer;
  margin: 10px auto;
  box-sizing: border-box;
  overflow: hidden;
}

.flip-card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateX(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  border: 1px solid #ccc;
  border-radius: 12px;
  text-align: center;
}

.flip-card-front {
  background-color: #ffffff;
  padding: 0 15px; 
  box-sizing: border-box; 
}

.flip-card-desc {
  text-align: right;
}

.flip-card-taatik {
  text-align: left;
}


.flip-card-back {
  background-color: #f0f0f0;
  transform: rotateX(180deg);
  justify-content: center;
}

#flip-cards-title {
  text-align: center;
  font-weight: 700;
  font-size: 1.6rem;
  margin: 20px 0;
  padding: 10px 15px;
  background-color: #36b; 
  border-radius: 8px;
  color: #fff; 
  user-select: none;
}
/*#endregion*/


/*#region [Show Message] */
#show-message {
  pointer-events: none;
  top: 40%;
  left: 50%;
  position: fixed;
  transform: translate(-50%, -50%) scale(0.9);
  width: 80%;
  padding: 20px 30px;
  background-color: #222;
  border-radius: 15px;
  border: 7px solid #0098cF;
  text-align: center;
  direction: rtl;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
}
/*#endregion*/



/*#region progress-bar */
#progress-bar-container {
  position: relative;
  width: 90%;
  height: 30px;
  background-color: #e0e0e0;
  margin: 20px auto;
  border-radius: 8px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  border: 1px solid #ccc;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: #4caf50;
  transition: width 0.3s ease-in-out;
  border-radius: 8px 0 0 8px; /* רק הקצה השמאלי עגול בתחילה */
}

#progress-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
  line-height: 30px;
  color: #000;
  font-weight: bold;
  pointer-events: none;
}
/*#endregion*/
