﻿* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Dana", sans-serif;
}

body {
  font-family: "Dana", sans-serif;
  background-color: #f3f4f6;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.golshop-loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.62s ease, visibility 0.62s ease;
}
.golshop-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.golshop-loader-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.dmx-grid { display: grid; grid-template-columns: repeat(5, 11px); grid-template-rows: repeat(5, 11px); gap: 5px; place-content: center; }
.dmx-dot { width: 11px; height: 11px; border-radius: 50%; background: #42C0F8; display: block; }
.dmx-dot.inactive { opacity: 0 !important; pointer-events: none; }
.golshop-loader-label { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: #1A3A5C; }
.golshop-loader-sub { font-size: 12px; color: #1A3A5C; margin-top: -10px; }
.golshop-loader-bar { width: 96px; height: 2px; overflow: hidden; border-radius: 9999px; background: #E8F5FC; }
.golshop-loader-bar-inner { width: 50%; height: 100%; border-radius: 9999px; background: #42C0F8; animation: golshop-shimmer 1.1s ease-in-out infinite; }
@keyframes golshop-shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #E8F5FC;
}

::-webkit-scrollbar-thumb {
  background: #42C0F8;
  border-radius: 20px;
  transition: 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #1f63c2;
  transition: 0.2s ease;
}

.container {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.img-left {
  width: 50vw;
  height: 100vh;
}

.img-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-wrapper {
  width: 50vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: #f3f4f6;
}

.login-form {
  width: 100%;
  max-width: 400px;
}

.form-title {
  margin-bottom: 1.5rem;
  font-size: 20px;
  color: #000;
  font-weight: 700;
  text-align: center;
  font-family: "Dana", sans-serif;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #cbcbcb;
  border-radius: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
  font-family: "Dana", sans-serif;
}

.input-group input:focus {
  border-color: #42C0F8;
  background-color: #f1f5f9;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  background-color: #42C0F8;
  color: white;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-bottom: 1rem;
}

.submit-btn:hover {
  background-color: #2678ee;
}

.login-text {
  margin-top: 2rem;
  font-size: 16px;
  color: #000;
  text-align: center;
}

.login-text a {
  text-decoration: none;
}

.login-link {
  color: #42C0F8;
  font-weight: 600;
  margin-left: 0.25rem;
  text-decoration: none;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .img-left {
    display: none;
  }

  .form-wrapper {
    width: 100vw;
    height: auto;
    padding: 1.5rem;
  }
}


.form-errors {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  width: 100%;
}

.form-error {
  color: #dc2626;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

.input-group .form-error {
  margin-top: 6px;
  text-align: right;
}


/* =========================================
 👨‍💻 Developer Information
 company: Rahe Roshd
 website : es-rahroshd.ir
 Instagram: @raheroshd55
 Tel: 09011267602 , 09030428445
 ========================================= */

