/* -----------------------------------------------------------
   1. GLOBAL & BASE STYLES
----------------------------------------------------------- */
html {
  direction: rtl;
}

body {
  font-family: "Vazirmatn", sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: url("/assets/images/bg.webp") no-repeat center center fixed;
  background-size: cover;
  color: #fff;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 20, 0.7);
  z-index: -1;
}

/* -----------------------------------------------------------
   2. UTILITIES & HELPERS
----------------------------------------------------------- */
.glass-panel {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* -----------------------------------------------------------
   3. LAYOUT STRUCTURE
----------------------------------------------------------- */
.main-content {
  flex: 1;
  padding: 80px 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.footer {
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: auto;
}

/* -----------------------------------------------------------
   4. NAVIGATION
----------------------------------------------------------- */
.navbar {
  padding: 15px 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  transition: 0.3s;
}

.nav-link:hover {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

/* -----------------------------------------------------------
   5. COMPONENT: PROFILE CARD
----------------------------------------------------------- */
.profile-card {
  border-radius: 20px;
  text-align: center;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.profile-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: 0.5s;
}

.profile-card:hover::after {
  left: 100%;
}

.profile-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 200, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.card-img-container {
  width: 100%;
  height: 120px;
  margin: 0 auto 20px;
  padding: 5px;
  border-radius: 10px 10px 0 0;
  border: 2px solid rgba(255, 255, 255, 0.5);
  position: relative;
}

.card-img-top {
  width: 100%;
  height: 100%;
  border-radius: 10px 10px 0 0;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 5px;
  font-weight: bold;
}

.card-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
}

/* -----------------------------------------------------------
   6. COMPONENT: BUTTONS
----------------------------------------------------------- */
.btn-glass {
  background-color: #fff;
  color: #000;
  border: none;
  padding: 10px 40px;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
  text-transform: uppercase;
}

.profile-card .btn-glass {
  width: 100%;
  border-radius: 0 0 20px 20px;
}

.btn-glass:hover {
  background-color: transparent;
  transform: scale(1.05);
  border: 1px white solid;
  color: white;
}


/* -----------------------------------------------------------
   7. COMPONENT: FORMS & INPUTS
----------------------------------------------------------- */
.glass-input {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2) !important;
}

.glass-input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}
