* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: 300;
}
body {
  font-family: 'sans', sans-serif;
  color: white;
  font-weight: 300;
  font-size: 14.3px;
}
body ::-webkit-input-placeholder {
  /* WebKit browsers */
  font-family: 'sans', sans-serif;
  color: white;
  font-weight: 300;
}
body :-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  font-family: 'sans', sans-serif;
  color: white;
  opacity: 1;
  font-weight: 300;
}
body ::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  font-family: 'sans', sans-serif;
  color: white;
  opacity: 1;
  font-weight: 300;
}
body :-ms-input-placeholder {
  /* Internet Explorer 10+ */
  font-family: 'sans', sans-serif;
  color: white;
  font-weight: 300;
}
.header {
    height: 60px;
    background: rgba(0, 195, 248, 0.25); /* آبی شفاف */
    backdrop-filter: blur(10px); /* افکت شیشه‌ای */
    border-top: 2px solid rgba(0, 195, 248, 0.6);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 99999;
    position: fixed; /* همیشه ثابت */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    transition: all 0.3s ease;
}
.title1 {
    float: right;
    margin-right: 10px;
    font-size: 14px;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}
.title1::before {
    content: "";
    display: block;
    height: 10px;
    width: 10px;
    float: right;
    margin-left: 10px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    margin-top: 2px;
}
.ding:hover .title1 {
    background: rgba(0, 195, 248, 0.4);
    color: #fff;
}
.ding:hover .title1::before {
    border: 3px solid #00C3F8;
}
a {
    color: rgb(136, 142, 144);
    text-decoration: none !important;
    font-family: sans;
    /*! font-size: 19px; */
}
.title {
    float: right;
    font-family: sans , tahoma;
    font-size: 13px;
    margin: 20px 20px;
    color: #5D5D5D;
    background: none !important;
}
.title1 {
    float: right;
    margin-right: 10px;
}
.title1::before {
    content: " ";
    display: block;
    height: 10px;
    width: 10px;
    float: right;
    margin-left: 10px;
    border: 3px solid #888E90;
    border-radius: 90px;
    margin-top: 2px;
}

.ding:hover .title1::before {
    border: 3px solid #00C3F8;
}
.welcome-footer {
  width: 100%;
  height: 60px;
  margin-top:9px;
  background-color: #fff;
}

.welcome-footer .container {
  width: auto;
  max-width: 680px;
  padding: 0 15px;
}

.welcome-footer a {
  color: #3ca2e0;
}

.welcome-footer .container .text-muted {
  margin: 1px 0;
}

.welcome-text-shadow{
  text-shadow: 0 0 3px rgba(0,0,0,0.2);
}
footer {
  position: absolute;
  bottom: 0;
  height: 60px;
  background-color: #f5f5f5;
}
p{
    color:rgb(136, 142, 144);
}
.wrapper {
    background-color: #0b1d3a; /* رنگ زیر عکس */
    background-image: url(../images/bg.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    position: relative;
    left: 0;
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow: hidden;
}
body {
  font-family: 'sans', sans-serif;
  color: white;
  font-weight: 300;
  font-size: 14.3px;

  background-color: #0b1d3a;  /* سورمه‌ای پشت عکس */
}
.wrapper.form-success .container h1 {
  -webkit-transform: translateY(85px);
          transform: translateY(85px);
}
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 150px 0;
  min-height: 100vh;
  text-align: center;
}
html, body {
    height: 100%;
}
.container h1 {
  font-size: 40px;
  -webkit-transition-duration: 1s;
          transition-duration: 1s;
  -webkit-transition-timing-function: ease-in-put;
          transition-timing-function: ease-in-put;
  font-weight: 200;
}
.form {
  padding: 20px 0;
  position: relative;
  z-index: 2;
}

.form input[type=text]{
	width: 250px;
	height: 30px;
	border: 1px solid rgba(255, 255, 255, 0.4);
background-color: rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	color: #fff;
	font-family: 'Exo', sans-serif;
	font-size: 16px;
	font-weight: 400;
	padding: 4px;
-webkit-transition-duration: 0.25s;
transition-duration: 0.25s;
text-align: center;
}

.form input[type=password]{
	width: 250px;
	height: 30px;
	border: 1px solid rgba(255, 255, 255, 0.4);
background-color: rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	color: #fff;
	font-family: 'Exo', sans-serif;
	font-size: 16px;
	font-weight: 400;
	padding: 4px;
	margin-top: 10px;
-webkit-transition-duration: 0.25s;
transition-duration: 0.25s;
text-align: centerr;
}
.form select{

	width: 250px;
	height: 30px;
	border: 1px solid rgba(255, 255, 255, 0.4);
background-color: rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	color: #fff;
	font-family: 'Exo', sans-serif;
	font-size: 16px;
	font-weight: 400;
	padding: 4px;
	margin-top: 10px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
text-align: center
}
.form  input[type=submit]{
	-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
background-color: white;
border: 0;
padding: 10px 15px;
color: rgb(136, 142, 144);
border-radius: 3px;
width: 250px;
cursor: pointer;
font-size: 18px;
-webkit-transition-duration: 0.25s;
transition-duration: 0.25s;
}
.form input:hover {
  background-color: rgba(255, 255, 255, 0.4);
}
.form input:focus {
  background-color: rgba(255, 255, 255, 0.4);
  width: 300px;
}


$md-checkbox-margin: 16px 0;
$md-checkbox-checked-color: rgb(51, 122, 183);
$md-checkbox-border-color: rgba(0, 0, 0, 0.54);
$md-checkbox-border-color-disabled: rgba(0, 0, 0, 0.26);
$md-checkbox-checked-color-disabled: rgba(0, 0, 0, 0.26);

$md-checkbox-size: 20px;
$md-checkbox-padding: 4px;

$md-checkmark-width: 2px;
$md-checkmark-color: #fff;

.md-checkbox {
  position: relative;
  margin: $md-checkbox-margin;
  text-align: left;

  &.md-checkbox-inline {
    display: inline-block;
  }
  
  label {
    cursor: pointer;
    &:before, &:after {
      content: "";
      position: absolute;
      left:0;
      top: 0;
    }
    
    &:before {
      // box
      width: $md-checkbox-size;
      height: $md-checkbox-size;
      background: #fff;
      border: 2px solid $md-checkbox-border-color;
      border-radius: 2px;
      cursor: pointer;
      transition: background .3s;
    }
  
    &:after {
      // checkmark
    }    
  }
input[type="checkbox"] {
    outline: 0;
    margin-right: $md-checkbox-size - 10px;
    visibility: hidden;

    &:checked {
       + label:before{
        background: $md-checkbox-checked-color;
        border:none;
      }
      + label:after {
        
        $md-checkmark-size: $md-checkbox-size - 2*$md-checkbox-padding;

        transform: rotate(-45deg);

        top: ($md-checkbox-size / 2) - ($md-checkmark-size / 4) - $md-checkbox-size/10;
        left: $md-checkbox-padding;
        width: $md-checkmark-size;
        height: $md-checkmark-size / 2;
        
        border: $md-checkmark-width solid $md-checkmark-color;
        border-top-style: none;
        border-right-style: none;
      } 
    }
    
    &:disabled {
      + label:before{
        border-color: $md-checkbox-border-color-disabled;
      }
      &:checked {
        + label:before{
          background: $md-checkbox-checked-color-disabled;
        }
      }
    }
  }
 
}
.form input[type=text]:focus{
	outline: none;
	border: 1px solid rgba(255,255,255,0.9);
}

.form  input[type=password]:focus{
	outline: none;
	border: 1px solid rgba(255,255,255,0.9);
}

.form input[type=submit]:focus{
	outline: none;
}

.onlines {
background-color: #16ccdb;
border-radius: 5px;
font-family: sans;
font-size: 14px;
float: left;
margin-top: 15px;
margin-left: 10px;
color: #fff;
height: auto;
width: auto;
}
	
.bg-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.bg-bubbles li {
  position: absolute;
  list-style: none;
  display: block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  bottom: -160px;
  -webkit-animation: square 25s infinite;
  animation: square 25s infinite;
  -webkit-transition-timing-function: linear;
  transition-timing-function: linear;
}
.bg-bubbles li:nth-child(1) {
  left: 10%;
}
.bg-bubbles li:nth-child(2) {
  left: 20%;
  width: 80px;
  height: 80px;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;

  -webkit-animation-duration: 17s;
          animation-duration: 17s;
}
.bg-bubbles li:nth-child(3) {
  left: 25%;
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
}
.bg-bubbles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  -webkit-animation-duration: 22s;
          animation-duration: 22s;
  background-color: rgba(255, 255, 255, 0.25);
}
.bg-bubbles li:nth-child(5) {
  left: 70%;
}
.bg-bubbles li:nth-child(6) {
  left: 80%;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
  background-color: rgba(255, 255, 255, 0.2);
}
.bg-bubbles li:nth-child(7) {
  left: 32%;
  width: 160px;
  height: 160px;
  -webkit-animation-delay: 7s;
          animation-delay: 7s;
}
.bg-bubbles li:nth-child(8) {
  left: 55%;
  width: 20px;
  height: 20px;
  -webkit-animation-delay: 15s;
          animation-delay: 15s;
  -webkit-animation-duration: 40s;
          animation-duration: 40s;
}
.bg-bubbles li:nth-child(9) {
  left: 25%;
  width: 10px;
  height: 10px;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  -webkit-animation-duration: 40s;
          animation-duration: 40s;
  background-color: rgba(255, 255, 255, 0.3);
}
.bg-bubbles li:nth-child(10) {
  left: 90%;
  width: 160px;
  height: 160px;
  -webkit-animation-delay: 11s;
          animation-delay: 11s;
}
@-webkit-keyframes square {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-700px) rotate(600deg);
            transform: translateY(-700px) rotate(600deg);
  }
}
@keyframes square {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-700px) rotate(600deg);
            transform: translateY(-700px) rotate(600deg);
  }
}
#starLayer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* اجازه تعامل با پشت */
    z-index: 999999; /* بالاترین لایه */
    overflow: hidden;
}

#starCanvas {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
}
#glassCard {
    position: fixed;
    top: 50%; /* کمی متمایل به پایین */
    left: 50%;
    transform: translate(-50%, -40%);
    width: 80%;
    max-width: 600px;
    background: rgba(20, 60, 80, 0.4); /* رنگ نفتی شفاف */
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    padding: 30px;
    color: #fff;
    font-family: "Arial", sans-serif;
    text-align: center;
    z-index: 999998; /* زیر ستاره‌ها و متن بارانی */
}

#glassCard h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ffd700; /* طلایی */
    text-shadow: 0 0 8px #ffd700, 0 0 12px #ffa500;
}

#glassCard p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9); /* کمی شفاف */
}

#glassCard a {
    color: #00ffff; /* آبی روشن */
    text-decoration: none;
    font-weight: bold;
}

#glassCard a:hover {
    color: #00ffdd;
    text-shadow: 0 0 8px #00ffff;
}
#moodBtn{

position:fixed;

left:15px;

bottom:80px;

width:55px;

height:55px;

border-radius:50%;

border:none;

font-size:22px;

background:rgba(90,108,255,.9);

color:white;

cursor:pointer;

z-index:999999;

box-shadow:0 0 15px rgba(0,0,0,.4);

}



/* popup */

#moodPopup{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(0,0,0,.6);

display:none;

justify-content:center;

align-items:center;

z-index:9999999;

}



.box{

width:92%;

max-width:420px;

background:#1b1b22;

border-radius:20px;

color:white;

max-height:85%;

overflow:auto;

}



.top{

padding:14px;

border-bottom:1px solid #333;

display:flex;

justify-content:space-between;

font-size:18px;

}



.item{

background:#2c2c38;

margin:8px;

padding:12px;

border-radius:12px;

cursor:pointer;

}



.tip{

background:#173a2c;

margin:8px;

padding:10px;

border-radius:10px;

}



.back{

margin:10px;

padding:6px 12px;

background:#555;

border:none;

border-radius:8px;

color:white;

cursor:pointer;

}