body{
 font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
 background: linear-gradient(90deg, #7b61ff 0%, #7157e2 100%);
 margin: 0;
 min-height: 100vh;

}

/* center the layout */
.auth-container{
 display: flex;
 justify-content: center;
 align-items: center;
 min-height: 100vh;
}
.auth-card{
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 0 32px rgba(90,100,255,0.08);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

/* logo */
.logo{
  width: 48px;
  margin-top: 2rem;
}
/* title */
.app-title{
 color: #6f44d7;
 font-weight: 600;
 letter-spacing: 0.5px;
}
.gitHub-btn{
  width: 100%;
  background: #23272f;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
  font-family: 'inter', 'Segoe UI', Arial, sans-serif;
}
.gitHub-btn img{
  width: 20px;
  
}
.github-btn:hover {
  background: #11121a;
}
/* divider */
.divider{
  position: relative;
  margin: 1.5rem 0;
  color: #b3b3b3;
  font-size: 0.9rem;
}
.divider::before, divider::after{
  content: '';
  position: inline-block;
  width: 40%;
  height: 1px;
  background: #ececec;
  vertical-align: middle;
  margin: 0 10px;

}
.divider .span{
  white-space: nowrap;
}
.form{
  display: flex;
  flex-direction: column;
  gap: 1.0rem;
  margin-bottom: 1.1rem;
}
input[type="email"],
input[type="password"]{
  padding: 13px 15px;
  border-radius: 8px;
  border: 1.5px solid #dadada;
  background: #f9f9f9;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  margin-bottom: 0.7rem;
  width: 100%;
}
input[type="email"]:focus,
input[type="password"]:focus {
  border: 1.5px solid #7b61ff;     /* Purple border on focus */
  background: #fff;
}
/* forgot password */
.forgot-row{
  text-align: right;
  margin-bottom: 0.2rem;
}
.forgot-link {
  color: #7b61ff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;

}
.forgot-link:hover {
  color: #6a4dd7;

}
/* signin button */
.signin-btn{
  padding: 13px 0;
  border: none;
  border-radius: 8px;
  background: #7b61ff;
  color: #fff;
  font-size: 1.07rem;
  font-weight: 600;
  margin-top: 0.2rem;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;

}

.sign-in-btn:hover {
  background: #5c3bb6;

}
.sign-in-btn {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-radius: 8px;
  background: #7b61ff;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  margin-top: 0.2rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(123,97,255,0.08);
}
.sign-in-btn:hover {
  background: #5c3bb6;
  /*signup link */
}

.signup-link a {
  color: #614ae0;
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.2em;
}
.signup-link a:hover {
  text-decoration: underline;
}
/* password rules */

ul.password-rules {
  list-style: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1rem 0 1.2rem 0;
  color: #bdbdbd;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
}
.password-rules li {
  display: flex;
  align-items: center;
  min-width: 220px;
  margin-bottom: 0.25rem;
}

/* Circle icon: empty by default */
.rule-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  margin-right: 10px;
  background: #f9fafb;
  box-sizing: border-box;
}

/* Example: when a rule is valid (use JS to toggle this) */
.rule-icon.checked {
  background: #7b61ff;
  border-color: #7b61ff;
  position: relative;
}
.rule-icon.checked::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 4px;
}
/* profile link */

/* Reset and Base Styles */
/* ===== Reset & Base Styles ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', Arial, sans-serif;
  background: #fafbfc;
  color: #222;
  min-height: 100vh;
}

/* ===== Layout ===== */
main {
  max-width: 600px;
  margin: 40px auto;
  padding: 24px;
}

/* ===== Title ===== */
.profile-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #22223b;
  text-align: center;
}

/* ===== Card ===== */
.profile-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== Form ===== */
.profile-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== Image Section ===== */
.profile-image-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f4f6fb;
  border-radius: 12px;
  padding: 24px 16px 16px 16px;
  gap: 12px;
}

.profile-image-placeholder {
  width: 88px;
  height: 88px;
  background: #e9ecf3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* ===== Text & Actions ===== */
.profile-image-section p {
  font-size: 0.98rem;
  color: #878faf;
  margin-bottom: 6px;
}

.profile-image-actions {
  display: flex;
  gap: 16px;
}
.btn {
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(50,50,93,.08);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background 0.18s;
}
.upload-btn {
  background: #fff;
  color: #4951e5;
  border: 1.5px solid #e1e6f9;
}
.upload-btn:hover {
  background: #f0f3ff;
}
.delete-btn {
  background: #fff0f3;
  color: #e04a4a;
  border: 1.5px solid #ffe5e8;
}
.delete-btn:hover {
  background: #ffd4da;
}
.icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ===== Fields Section ===== */
.profile-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-row {
  display: flex;
  gap: 18px;
}
.input-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 7px;
}

label {
  font-size: 1rem;
  color: #2e314a;
  font-weight: 500;
}
input, textarea {
  border: 1.2px solid #e3e5ec;
  border-radius: 7px;
  padding: 11px 13px;
  font-size: 1rem;
  background: #fafbfc;
  color: #21243a;
  transition: border 0.16s;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #7685ff;
  background: #f0f4ff;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

/* ===== Save Button ===== */
.save-btn {
  margin-top: 8px;
  align-self: flex-end;
  background: #6c63ff;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  padding: 12px 34px;
  font-size: 1.1rem;
  box-shadow: 0 2px 6px rgba(90,105,255,0.08);
  transition: background 0.19s;
}
.save-btn:hover {
  background: #5046e5;
}

/* ===== Responsive Design ===== */
@media (max-width: 700px) {
  main {
    padding: 3vw;
  }
  .profile-card {
    padding: 4vw 2vw;
  }
  .input-row {
    flex-direction: column;
    gap: 0;
  }
  .save-btn {
    width: 100%;
    align-self: stretch;
  }
}
.project-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(50,50,93,.08);
  padding: 16px;
}

.project-img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
  margin-right: 18px;
}
/* portafolio title */
.profile-bg {
  width: 100%;
  max-width: 800px;   /* Match your profile-main width */
  margin: 0 auto;
  position: relative;
}

.profile-bg img {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
 * portafolio bio */
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #f7f8fa;
  margin: 0;
  padding: 0;
  color: #333;
}

.profile-bg {
  background: url('profile-bg.svg') center/cover no-repeat, #343847;
  display: flex;
  justify-content: right;
  margin-top: 40px;
  
}

.profile-bg img {
  width: 500px;
  max-width: 80vw;
  border-radius: 20px 20px 0 0;
  
}

.profile-card {
  background: #fff;
  width: 600px;
  max-width: 90vw;
  margin: -70px auto 40px auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(30,34,54,0.08);
  padding: 32px 32px 0 32px;
  position: relative;
  z-index: 2;
}

.avatar-wrapper {
  display: flex;
  justify-content: left;
  margin-top: -64px;
}

.avatar-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(30,34,54,0.09);
  background: #f2f2f2;
  object-fit: cover;
  justify-content: left;
  
}


.profile-info {
  text-align: left;
  margin-top: 18px;
  margin-bottom: 30px;
  
  
}

.profile-name {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 8px 0 4px 0;
  color: #23262f;
}

.profile-job {
  font-size: 1rem;
  font-weight: 400;
  color: #828282;
  margin-bottom: 14px;
}

.contact-btn {
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 6px;
  padding: 6px 18px;
  color: #4f46e5;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 14px;
  transition: border 0.2s;
}

.contact-btn:hover {
  border-color: #7b61ff;
}

.profile-bio h4 {
  margin: 8px 0 4px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #4f46e5;
}

.profile-bio p {
  color: #5a5a5a;
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

.projects-section {
  margin-top: 24px;
}

.projects-section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #23262f;
  margin-bottom: 16px;
}

.project-card {
  display: flex;
  align-items: flex-start;
  background: #fafbfc;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(30,34,54,0.02);
}

.project-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.project-card h4 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #393e46;
}

.project-card p {
  margin: 0 0 6px 0;
  font-size: 14px;
  color: #6c6c6c;
}

.project-card a {
  color: #7b61ff;
  font-size: 13px;
  text-decoration: none;
  margin-right: 12px;
  font-weight: 500;
}

.project-card a:hover {
  text-decoration: underline;
}

.powered-by {
  margin: 40px 0 0 0;
  text-align: center;
  font-size: 13px;
  color: #bdbdbd;
  padding-bottom: 18px;
  letter-spacing: 0.05em;
}

.powered-by span {
  color: #7b61ff;
  font-weight: 600;
}

@media (max-width: 650px) {
  .profile-card {
    width: 97vw;
    padding: 12px 4vw 0 4vw;
  }
  .profile-bg img {
    width: 100vw;
    max-width: 100vw;
  }
}
