/*
$color-primary: #004d27;
$color-secondary: #006837;
$color-bg: #f1f1f1;
$color-text: #333;
$color-btn-login: #006837;
$color-btn-register: #8bc34a;
$border-radius: 15px;
$box-shadow: 0 12px 40px rgba(0,0,0,0.25);
$font-family: 'IRANSans', sans-serif;

.Welcome {
  font-family: $font-family;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #e6f0ea, #ffffff);
}

.landing-page-ultra {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 2rem;

  .landing-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    gap: 3rem;

    .landing-text {
      flex: 1 1 450px;
      animation: fadeInLeft 1s ease forwards;
      opacity: 0;

      h1 {
        font-size: 3rem;
        color: $color-primary;
        margin-bottom: 1rem;
        animation: fadeInUp 1s ease 0.3s forwards;
        opacity: 0;
      }

      p {
        font-size: 1.2rem;
        color: $color-text;
        margin-bottom: 2rem;
        animation: fadeInUp 1s ease 0.6s forwards;
        opacity: 0;
      }

      .landing-buttons {
        display: flex;
        gap: 1rem;
        animation: fadeInUp 1s ease 0.9s forwards;
        opacity: 0;

        .btn {
          padding: 0.8rem 2rem;
          border-radius: $border-radius;
          font-weight: bold;
          text-decoration: none;
          color: #fff;
          transform: translateY(0);
          transition: transform 0.3s, box-shadow 0.3s;

          &:hover {
            transform: translateY(-5px) rotateX(5deg);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
          }
        }

        .login-btn {
          background: $color-btn-login;
        }

        .register-btn {
          background: $color-btn-register;
        }
      }
    }

    .landing-image {
      display: flex;
      justify-content: center;

      .image-card {
        perspective: 1000px;

        img {
          width: 100%;
          border-radius: $border-radius;
          box-shadow: $box-shadow;
          transition: transform 0.5s, box-shadow 0.5s;

          &:hover {
            transform: rotateY(10deg) rotateX(5deg) scale(1.05);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
          }
        }
      }
    }
  }
}

!* انیمیشن های ورود *!
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .landing-container {
    flex-direction: column;
    text-align: center;

    .landing-buttons { justify-content: center; }
    .landing-image { margin-top: 2rem; }
  }
}*/
/*
// Variables
$primary-color: #34a892;
$secondary-color: #2dd4bf;
$accent-color: #0891b2;
$background-light: rgba(255, 255, 255, 0.9);
$text-dark: #374151;
$text-light: #6b7280;
$border-radius: 16px;
$box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

// Mixins
@mixin flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

@mixin watercolor-bg {
  background:
          radial-gradient(circle at 20% 20%, rgba(52, 168, 146, 0.3) 0%, transparent 50%),
          radial-gradient(circle at 80% 80%, rgba(45, 212, 191, 0.3) 0%, transparent 50%),
          radial-gradient(circle at 40% 70%, rgba(8, 145, 178, 0.2) 0%, transparent 50%),
          radial-gradient(circle at 70% 30%, rgba(240, 253, 250, 0.5) 0%, transparent 50%),
          linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 50%, #a7f3d0 100%);
}

// Base styles
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  direction: rtl;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  @include watercolor-bg;
  z-index: -1;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(52,168,146,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(45,212,191,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(8,145,178,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
  }
}

.container {
  min-height: 100vh;
  padding: 20px;
  @include flex-center;
  flex-direction: column;
}

// Top decorations
.top-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  z-index: 1;

  .top-ornament {
    width: 200px;
    height: 100px;

    .ornament-svg {
      width: 100%;
      height: 100%;
      filter: drop-shadow(0 4px 8px rgba(52, 168, 146, 0.3));
    }
  }
}

// Main content layout
.main-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin-top: 60px;
}

// Side decorations
.side-decoration {
  position: relative;
  width: 280px;
  height: 280px;

  .decorative-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    .border-svg {
      width: 100%;
      height: 100%;
      filter: drop-shadow(0 4px 12px rgba(52, 168, 146, 0.3));
      animation: rotate-slow 30s linear infinite;
    }
  }

  .decoration-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background: $background-light;
    box-shadow: inset 0 0 20px rgba(52, 168, 146, 0.2);
  }
}

// Calligraphy section
.calligraphy {
  @include flex-center;
  width: 100%;
  height: 100%;

  .calligraphy-text {
    text-align: center;
    color: $text-dark;

    .line1, .line2, .line3 {
      font-size: 24px;
      font-weight: 600;
      line-height: 1.2;
      margin: 2px 0;
    }

    .line2 {
      font-size: 18px;
      font-weight: 500;
      color: $primary-color;
    }

    .year {
      font-size: 14px;
      color: $text-light;
      margin-top: 8px;
    }
  }
}

// Building image
.building-image {
  width: 100%;
  height: 100%;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
}

// Login form
.login-form {
  background: $background-light;
  backdrop-filter: blur(10px);
  border-radius: $border-radius;
  padding: 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: $box-shadow;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-header {
  text-align: center;
  margin-bottom: 30px;

  .logo-section {
    margin-bottom: 20px;

    .logo-circle {
      @include flex-center;
      width: 60px;
      height: 60px;
      background: linear-gradient(135deg, $primary-color, $secondary-color);
      border-radius: 50%;
      margin: 0 auto 12px;

      .logo-icon {
        font-size: 24px;
        color: white;
      }
    }

    .site-title {
      font-size: 28px;
      font-weight: 700;
      color: $text-dark;
      margin-bottom: 4px;
    }

    .site-subtitle {
      font-size: 14px;
      color: $text-light;
    }
  }

  .welcome-text {
    font-size: 14px;
    line-height: 1.6;
    color: $text-light;
    text-align: justify;
  }
}

// Form styles
.login-form-content {
  .form-group {
    position: relative;
    margin-bottom: 20px;

    .form-input {
      width: 100%;
      padding: 14px 16px 14px 45px;
      border: 2px solid #e5e7eb;
      border-radius: 12px;
      font-size: 14px;
      transition: all 0.3s ease;
      background: rgba(255, 255, 255, 0.8);

      &:focus {
        outline: none;
        border-color: $primary-color;
        box-shadow: 0 0 0 3px rgba(52, 168, 146, 0.1);
      }

      &::placeholder {
        color: #9ca3af;
        font-size: 13px;
      }
    }

    .input-icon {
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 16px;
      color: $text-light;
    }
  }
}

// Captcha section
.captcha-section {
  margin-bottom: 25px;

  .captcha-display {
    position: relative;
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    border: 2px solid #e5e7eb;

    #captchaCanvas {
      display: block;
      background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    }

    .refresh-captcha {
      position: absolute;
      top: 10px;
      left: 10px;
      background: $primary-color;
      border: none;
      border-radius: 6px;
      width: 30px;
      height: 30px;
      color: white;
      cursor: pointer;
      transition: all 0.3s ease;
      @include flex-center;

      &:hover {
        background: darken($primary-color, 10%);
        transform: rotate(180deg);
      }
    }
  }

  .captcha-input-group {
    position: relative;

    .captcha-input {
      font-size: 12px;
      padding: 5%;
      width: 100%;
      border: 1px solid gray;
      border-radius: 10px;
    }

    .captcha-icon {
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 14px;
      color: $text-light;
    }
  }
}

// Login button
.login-button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, $primary-color, $secondary-color);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 168, 146, 0.3);
  }

  &:active {
    transform: translateY(0);
  }
}

// Form links
.form-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: $text-light;

  .link-icon {
    color: $primary-color;
  }

  span:not(.link-icon) {
    cursor: pointer;
    transition: color 0.3s ease;

    &:hover {
      color: $primary-color;
    }
  }
}

// Animations
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

// Responsive design
@media (max-width: 1024px) {
  .main-content {
    flex-direction: column;
    gap: 30px;
  }

  .side-decoration {
    width: 200px;
    height: 200px;

    .decoration-content {
      width: 140px;
      height: 140px;
    }
  }

  .top-decorations {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  .login-form {
    padding: 30px 20px;
    max-width: 100%;
  }

  .side-decoration {
    width: 150px;
    height: 150px;

    .decoration-content {
      width: 100px;
      height: 100px;
    }

    .calligraphy-text {
      .line1, .line2, .line3 {
        font-size: 16px;
      }

      .line2 {
        font-size: 12px;
      }

      .year {
        font-size: 10px;
      }
    }
  }
}

@media (max-width: 480px) {
  .main-content {
    gap: 20px;
  }

  .side-decoration {
    width: 120px;
    height: 120px;

    .decoration-content {
      width: 80px;
      height: 80px;
    }
  }

  .form-header .welcome-text {
    font-size: 12px;
  }

  .login-form {
    padding: 20px 15px;
  }
}*/
/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  direction: rtl;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
          radial-gradient(circle at 20% 20%, rgba(52, 168, 146, 0.3) 0%, transparent 50%),
          radial-gradient(circle at 80% 80%, rgba(45, 212, 191, 0.3) 0%, transparent 50%),
          radial-gradient(circle at 40% 70%, rgba(8, 145, 178, 0.2) 0%, transparent 50%),
          radial-gradient(circle at 70% 30%, rgba(240, 253, 250, 0.5) 0%, transparent 50%),
          linear-gradient(135deg, #a4efbb 0%, #fad419 50%, #abf1a6 100%);
  z-index: -1;
}
.background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(52,168,146,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(45,212,191,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(8,145,178,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  opacity: 0.3;
}

.container {
  min-height: 100vh;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* Top decorations */
.top-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  z-index: 1;
}
.top-decorations .top-ornament {
  width: 200px;
  height: 100px;
}
.top-decorations .top-ornament .ornament-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 8px rgba(52, 168, 146, 0.3));
}

/* Main content layout */
.main-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin-top: 60px;
}

/* Side decorations */
.side-decoration {
  position: relative;
  width: 280px;
  height: 280px;
}
.side-decoration .decorative-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.side-decoration .decorative-border .border-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(52, 168, 146, 0.3));
  animation: rotate-slow 30s linear infinite;
}
.side-decoration .decoration-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 20px rgba(52, 168, 146, 0.2);
}

/* Calligraphy section */
.calligraphy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.calligraphy .calligraphy-text {
  text-align: center;
  color: #374151;
}
.calligraphy .calligraphy-text .line1,
.calligraphy .calligraphy-text .line2,
.calligraphy .calligraphy-text .line3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin: 2px 0;
}
.calligraphy .calligraphy-text .line2 {
  font-size: 18px;
  font-weight: 500;
  color: #34a892;
}
.calligraphy .calligraphy-text .year {
  font-size: 14px;
  color: #6b7280;
  margin-top: 8px;
}

/* Building image */
.building-image {
  width: 100%;
  height: 100%;
}
.building-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Login form */
.login-form {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.form-header {
  text-align: center;
  margin-bottom: 30px;
}
.form-header .logo-section {
  margin-bottom: 20px;
}
.form-header .logo-section .logo-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4da834, #ced42d);
  border-radius: 50%;
  margin: 0 auto 12px;
}
.form-header .logo-section .logo-circle .logo-icon {
  font-size: 24px;
  color: white;
}
.form-header .logo-section .site-title {
  font-size: 28px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 4px;
}
.form-header .logo-section .site-subtitle {
  font-size: 14px;
  color: #6b7280;
}
.form-header .welcome-text {
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
  text-align: justify;
}

/* Form styles */
.login-form-content .form-group {
  position: relative;
  margin-bottom: 20px;
}
.login-form-content .form-group .form-input {
  width: 100%;
  padding: 14px 16px 14px 45px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
}
.login-form-content .form-group .form-input:focus {
  outline: none;
  border-color: #34a86a;
  box-shadow: 0 0 0 3px rgba(52, 168, 146, 0.1);
}
.login-form-content .form-group .form-input::placeholder {
  color: #9ca3af;
  font-size: 13px;
}
.login-form-content .form-group .input-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #6b7280;
}

/* Captcha section */
.captcha-section {
  margin-bottom: 25px;
}
.captcha-section .captcha-display {
  position: relative;
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  border: 2px solid #e5e7eb;
}
.captcha-section .captcha-display #captchaCanvas {
  display: block;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}
.captcha-section .captcha-display .refresh-captcha {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #81a834;
  border: none;
  border-radius: 6px;
  width: 30px;
  height: 30px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.captcha-section .captcha-display .refresh-captcha:hover {
  background: #2a8170; /* darken */
  transform: rotate(180deg);
}
.captcha-section .captcha-input-group {
  position: relative;
}
.captcha-section .captcha-input-group .captcha-input {
  font-size: 12px;
  padding: 5%;
  width: 100%;
  border: 1px solid gray;
  border-radius: 10px;
}
.captcha-section .captcha-input-group .captcha-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #6b7280;
}

/* Login button */
.login-button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #4da834, #d4c62d);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}
.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 168, 146, 0.3);
}
.login-button:active {
  transform: translateY(0);
}

/* Form links */
.form-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
}
.form-links .link-icon {
  color: #93a834;
}
.form-links span:not(.link-icon) {
  cursor: pointer;
  transition: color 0.3s ease;
}
.form-links span:not(.link-icon):hover {
  color: #93a834;
}

/* Animations */
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Responsive design */
@media (max-width: 1024px) {
  .main-content {
    flex-direction: column;
    gap: 30px;
  }
  .side-decoration {
    width: 200px;
    height: 200px;
  }
  .side-decoration .decoration-content {
    width: 140px;
    height: 140px;
  }
  .top-decorations {
    display: none;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }
  .login-form {
    padding: 30px 20px;
    max-width: 100%;
  }
  .side-decoration {
    width: 150px;
    height: 150px;
  }
  .side-decoration .decoration-content {
    width: 100px;
    height: 100px;
  }
  .calligraphy-text .line1,
  .calligraphy-text .line2,
  .calligraphy-text .line3 {
    font-size: 16px;
  }
  .calligraphy-text .line2 {
    font-size: 12px;
  }
  .calligraphy-text .year {
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .main-content {
    gap: 20px;
  }
  .side-decoration {
    width: 120px;
    height: 120px;
  }
  .side-decoration .decoration-content {
    width: 80px;
    height: 80px;
  }
  .form-header .welcome-text {
    font-size: 12px;
  }
  .login-form {
    padding: 20px 15px;
  }
}