body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: #f5f5f5;
}

/* HEADER SAME */
.header {
   display: flex;
  justify-content: space-between;
  padding: 20px 5px;
  background: white;
  border-bottom: 1px solid #ddd;
}
.main-header {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}
.logo img {
  height: 50px;
  object-fit: contain;
}
.logo {
  font-weight: bold;
  font-size: 20px;
}
.main-header .auth-links a{
        background: #c8102e;
    color: #fff;
    padding: 15px;
    border-radius: 15px;
}

.main-header .auth-links a:last-child {
     background: #fff;
    color: #c8102e;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid #c8102e;
}
.profile-container {
  position: relative;
}

.profile-container img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
}

.dropdown {
  position: absolute;
  width: 260px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  display: none;
}

/* PROFILE IMAGE WITH BADGE */
.profile-pic-wrapper {
  position: relative;
  display: inline-block;
}

.profile-pic-wrapper img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

/* RED BADGE */
.profile-badge {
    position: absolute;
    top: 21px;
    right: -12px;
    background: #c8102e;
    color: white;
    font-size: 10px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.dropdown.active {
  display: block;
}

.profile-header {
  display: flex;
  gap: 10px;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.profile-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.menu-item {
  padding: 12px 15px;
  cursor: pointer;
}

.menu-item:hover {
  background: #f2f2f2;
}

.logout {
  border-top: 1px solid #eee;
  color: red;
}

.toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* SWITCH */
.switch {
  position: relative;
  width: 35px;
  height: 18px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #ccc;
  border-radius: 20px;
}

.slider:before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  top: 2px;
  left: 2px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .slider {
  background: green;
}

input:checked + .slider:before {
  transform: translateX(17px);
}

/* MAIN */
.container {
  padding: 20px;
}

/* TABS */
.tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid #ccc;
}

.tab {
  padding: 10px;
  cursor: pointer;
}

.tab.active {
  border-bottom: 2px solid black;
  font-weight: bold;
}

/* JOB CARD */
.job-card {
  background: white;
  padding: 20px;
  margin-top: 20px;
  border-radius: 8px;
}

.title {
  font-size: 18px;
  font-weight: bold;
}

/* BUTTONS */
.btn {
  padding: 8px 12px;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

.download {
  background: #eee;
}

.apply {
  background: green;
  color: white;
}

/* FILTER */
.filter-btn {
  float: right;
  margin-top: -40px;
  border: 2px solid green;
  padding: 6px 12px;
  background: white;
  cursor: pointer;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  top: 0;
}

.modal-box {
  background: white;
  width: 350px;
  margin: 80px auto;
  padding: 20px;
  border-radius: 10px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
}

.modal-footer {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

/* CONTENT */
.content {
  display: none;
}

.content.active {
  display: block;
}

.job-wrapper .content {
  width: 100%;
  max-width: 1200px;
}

.job-wrapper .job-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.job-wrapper .job-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* Header */
.job-wrapper .time {
  font-size: 14px;
  color: #777;
}

/* Title */
.job-wrapper .title {
  font-size: 25px;
  margin: 15px 0;
  color: #222;
}

/* Budget / Meta */
.job-wrapper .job-meta {
  font-size: 15px;
  margin-bottom: 8px;
}

.job-wrapper .budget {
  color: #c8102e;
  font-weight: 550;
}

/* Description */
.job-wrapper .description {
  font-size: 17px;
  color: #444;
  line-height: 1.2;
}

/* Footer */
.job-wrapper .job-footer {
  margin-top: 15px;
}

.job-wrapper .job-footer .left {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 15px;
    color: #555;
    flex-direction: column;
}

/* Buttons */
.job-wrapper .actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

..job-wrapper .btn {
    padding: 12px 17px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.job-wrapper .download {
  background: #e0e0e0;
}

.job-wrapper .apply {
  background: #c8102e;
  color: #fff;
}




/* ---------------------------------LOGIN PAGE DESIGN --------------------------------------*/

/* GLOBAL CONTAINER 1200px */
.main-wrapper {
  max-width: 1200px;
  margin: 20px auto;
  width: 100%;
}




/* LOGIN PAGE */

.login-body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.login-container {
  display: flex;
  height: 100vh;
}

/* LEFT */
.login-left {
    width: 50%;
    padding: 190px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.login-left h2 {
    margin-bottom: 80px;
    font-size: 40px;
}

.login-left input {
  width: 100%;
  padding: 12px;
  margin: 10px 0 20px;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
}

.forgot {
  font-size: 15px;
  margin-bottom: 20px;
  color: #000000;
  cursor: pointer;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: #c8102e; /* logo red */
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

.fb-btn {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #999;
  background: white;
  border-radius: 25px;
  cursor: pointer;
}

/* RIGHT */
.login-right {
  width: 40%;
  background: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d') no-repeat center/cover;
  position: relative;
}

.overlay {
    background: rgba(200, 16, 46, 0.59);
    height: 100%;
    color: white;
    text-align: center;
    /* padding-top: 181px; */
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.overlay h2 {
    font-size: 37px;
}
.signup-btn {
    padding: 15px 28px;
    border: 2px solid white;
    background: transparent;
    color: white;
    border-radius: 25px;
    margin-top: 200px;
    cursor: pointer;
    font-size: 16px;
}

.links {
  margin-top: 40px;
  font-size: 12px;
}


/* ----------------------------------------FORGET PAGE ------------------------------------------------*/

.forget-body {
  margin: 0;
  background: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d') no-repeat center/cover;
}

/* overlay */
.forget-container {
  background: rgba(200, 16, 46, 0.59); /* #c8102e */
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* box */
.forget-box {
  background: white;
  width: 400px;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
}

/* logo */
.forget-logo img {
  height: 40px;
  margin-bottom: 20px;
}

/* text */
.forget-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

/* input */
.forget-box input {
  width: 100%;
  padding: 10px;
  border: none;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
}

/* button */
.forget-btn {
  width: 100%;
  padding: 12px;
  background: #c8102e;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* back link */
.back-login {
  margin-top: 20px;
  font-size: 13px;
}

.back-login a {
  color: #c8102e;
  text-decoration: none;
}

/* ------------------------SIGNUP PAGE SMALL FIX --------------------------------*/

/* SIGNUP NEW DESIGN */

.signup-body {
  margin: 0;
  font-family: Arial;
  background: #f5f5f5;
}
.signup-container{
  max-width: 600px;
}

.signup-wrapper {
  margin: auto;
  display: flex;
  height: 100vh;
}

/* LEFT */
.signup-left {
    width: 60%;
    padding: 60px;
    background: #ffffff;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.signup-left h2 {
    margin-bottom: 80px;
    font-size: 40px;
    text-align: center;
}

/* GRID */
.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field label {
  font-size: 15px;
  color: #333;
}

.field input {
  width: 100%;
  padding: 10px;
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
}

/* full width */
.field.full {
  grid-column: span 2;
}

/* BUTTON */
.signup-btn-main {
  width: 100%;
  margin-top: 25px;
  padding: 12px;
  background: #c8102e;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

/* RIGHT */
.signup-right {
  width: 40%;
  background: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d') no-repeat center/cover;
  position: relative;
}

.signup-overlay {
    background: rgba(200, 16, 46, 0.85);
    height: 100%;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.signup-overlay h2{
  font-size: 37px;
}
.signup-alt-btn{
   margin-top: 200px;
    padding: 15px 28px;
    border: 2px solid white;
    background: transparent;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
}


/* ------------------------------------------------------PROFILE PAGE---------------------------------------------------------- */

/* PROFILE PAGE FIXED */

.profile-top-bar {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  background: #f5f5f5;
}
.profile-top-bar h2 {
    font-size: 26px;
    line-height: 0px;
}

.profile-main {
  display: flex;
  gap: 20px;
  padding: 20px;
}

/* LEFT CARD */
.profile-card {
  width: 30%;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}

/* COVER IMAGE FIX */
.cover-section {
  height: 160px;
  background: url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee') no-repeat center;
  background-size: cover;   /* IMPORTANT */
}

/* PROFILE IMAGE FIX */
.profile-img {
  margin-top: -40px;
}

.profile-img img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid white;
}

/* TEXT */
.location {
  color: gray;
  font-size: 14px;
}

.desc {
  padding: 0 20px;
  font-size: 15px;
}

/* BUTTONS */
.btn-group {
  margin: 15px;
}

.edit-btn {
  padding: 8px 15px;
  border: 2px solid #c8102e;
  color: #c8102e;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  margin-bottom: 10px;
}

.pass-btn {
  padding: 8px 15px;
  background: #c8102e;
  color: white;

  border: none;
  border-radius: 20px;
  margin-left: 10px;
  cursor: pointer;
}

/* RIGHT */


.profile-details {
  width: 70%;
  background: white;
  padding: 20px;
  border-radius: 10px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 10px;
}

.box {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 6px;
}

.box label {
  font-size: 12px;
  color: gray;
}

.box span {
  display: block;
  margin-top: 5px;
}

.full {
  grid-column: span 2;
}






















































/* ================= TABLET (992px) ================= */
@media (max-width: 992px) {

  .header {
    padding: 20px 40px;
  }

  .login-left {
    padding: 100px 40px;
  }

  .login-left h2 {
    font-size: 30px;
  }

  .login-right {
    width: 50%;
  }

  .signup-left {
    padding: 40px;
  }

  .job-wrapper .title {
    font-size: 22px;
  }
  .profile-main {
    flex-direction: column;
  }

  .profile-card {
    width: 100%;
  }

  .profile-details {
    width: 100%;
  }

  .profile-top-bar h2 {
    font-size: 22px;
  }
  .dropdown{
    right: 2rem;
  }


}


/* ================= MOBILE (768px) ================= */
@media (max-width: 768px) {

  /* HEADER */
  .header {
    padding: 15px 20px;
  }

  /* LOGIN PAGE */
  .login-container {
    flex-direction: column;
  }

  .login-left {
    width: 100%;
    padding: 60px 20px;
  }

  .login-right {
    width: 100%;
    height: 250px;
  }

  .signup-btn {
    margin-top: 40px;
  }

  /* SIGNUP */
  .signup-wrapper {
    flex-direction: column;
  }

  .signup-left {
    width: 100%;
    padding: 30px;
  }

  .signup-right {
    width: 100%;
    height: 250px;
  }

  .signup-grid {
    grid-template-columns: 1fr;
  }

  /* JOB CARD */
  .job-wrapper .title {
    font-size: 20px;
  }

  .job-wrapper .description {
    font-size: 15px;
  }

  .job-wrapper .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
  .profile-main {
    padding: 10px;
  }

  .profile-top-bar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .profile-top-bar h2 {
    font-size: 20px;
  }

  /* PROFILE CARD */
  .profile-card {
    width: 100%;
  }

  .cover-section {
    height: 120px;
  }

  .profile-img img {
    width: 70px;
    height: 70px;
  }

  .desc {
    font-size: 12px;
  }

  /* BUTTONS STACK */
  .btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .pass-btn {
    margin-left: 0;
  }

  /* DETAILS GRID */
  .grid {
    grid-template-columns: 1fr;
  }

  .full {
    grid-column: span 1;
  }

}


/* ================= SMALL MOBILE (480px) ================= */
@media (max-width: 480px) {

  .logo img {
    height: 40px;
  }

  .profile-container img {
    width: 40px;
    height: 40px;
  }

  .login-left h2 {
    font-size: 24px;
  }

  .overlay h2,
  .signup-overlay h2 {
    font-size: 24px;
  }

  .signup-left h2 {
    font-size: 26px;
  }

  .filter-btn {
    float: none;
    display: block;
    margin: 10px 0;
  }

  .job-wrapper .title {
    font-size: 18px;
  }

  .job-wrapper .description {
    font-size: 14px;
  }

  .profile-top-bar {
    padding: 10px;
  }

  .profile-top-bar h2 {
    font-size: 18px;
  }

  .profile-img {
    margin-top: -30px;
  }

  .profile-img img {
    width: 60px;
    height: 60px;
  }

  .location {
    font-size: 12px;
  }

  .desc {
    font-size: 11px;
  }

  .box {
    padding: 10px;
  }

  .box label {
    font-size: 11px;
  }

  .box span {
    font-size: 13px;
  }
}
