


.center-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  position: relative;
  overflow: hidden; /* pseudo-element बाहिर नजाओस् */
  border-radius: 24px;
  /* z-index: 8; */
}

.auth-container {
  position: relative;
  width: 480px;
  max-width: 95%;
  background: #272727;
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* z-index: 2; */
}

/* spinning stroke form चारैतिर */
.auth-container::before {
  content: "";
  position: absolute;
  top: -10px; bottom: -10px;
  left: -10px; right: -10px;
  border-radius: 24px;
  background: conic-gradient(
    from 45deg,
    transparent 85%, 
    #fff 86%, 
    transparent 100%
  );
  animation: spin 4s linear infinite;
  z-index: -1;
}

/* auth/auth.css मा थप्नुहोस् */
.default-avatar {
    /* Django ट्यागहरू CSS फाइलहरूमा काम गर्दैनन्, त्यसैले यहाँ relative path प्रयोग गर्नुहोस् */
    background-image: url('../../images/profile.png');
    /* वा यदि तपाईंसँग URL मा access छ भने */
}


.form {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}



/* Avatar */
.logo-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
}

.logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid #fff;
  transition: 0.3s;
}

/* Pencil Icon */
.edit-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}
.google-sign-in{
    display:inline-block;
    padding:10px 20px;
    background:#fff;
    color:#000;
    border-radius:6px;
    text-decoration:none;
}

/* Desktop Hover */
@media(min-width: 768px) {
  .edit-icon { opacity: 0; }
  .logo-wrapper:hover .edit-icon { opacity: 1; }
}

/* Mobile always visible */
@media(max-width: 767px) {
  .edit-icon {
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    opacity: 1;
  }
}

/* Header */
.header {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  margin-bottom: 15px;
}

/* Inputs */
.input {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: none;
  background: #3a3a3a;
  color: #fff;
  font-size: 14px;
}
.input:focus {
  outline: none;
  border: 1px solid #fff;
}

/* Buttons */
.button {
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: #373737;
  color: #fff;
  margin-top: 10px;
  transition: 0.3s;
}
.button:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0px 3px 6px rgba(255, 255, 255, 0.6),
    inset 0px -3px 6px rgba(0, 0, 0, 0.8),
    0px 0px 8px rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
  margin-top: 15px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

.footer .link {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-weight: 600;
}

.footer .link:hover {
  color: #fff;
}

/* Responsive */
@media(max-width:480px) {
  .auth-container { padding: 20px; }
  .header { font-size: 20px; }
  .button { font-size: 12px; height: 38px; }
}
