/* Reset and Base */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(135deg,#CBB5F9, #FFC8DD, #FFAECC,#BDE0FE, #A2D2FF);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.logo {
    width: 200px;
    height: 100px;
    margin-left: 50px;
}

/* Header amd menu */
.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px 40px; 
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-button {
    display: flex;
    gap: 15px;
    margin-right: 10%;
    margin-top: 15px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding: 10px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background: rgba(0,0,0,0.2);
}

.nav-button .btn {
    width: 90px;
    height: 40px;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s ease ;
}

#registerBtn {
    margin-left: 15px;
}

.btn.white-btn {
    background: rgba(255, 255, 255, 0.6);;
}

/* Main Form Container */
.main-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* Login Box */
.content-wrapper {
    display: flex;
    max-width: 950px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    color: #000;
    gap: 40px;
}

/* Left side welcome text */
.welcome-box {
    flex: 1;
    margin-top: 90px;
}

.welcome-box h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.welcome-box p {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 2px;
}

.icon-container {
    margin-top: 20px;
    display: flex;
    grid-template-columns: 4fr 1fr;
    gap: 12px;
}

.icon-container img {
    width: 30px;
    height: 30px;
    opacity: 0.7;
}

 .login-box {
    flex: 1;
 }

.login-box h1 {
    margin-bottom: 20px;
    text-align: center;
}

/* Account Link Row */
.account-link {
    display: flex;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
    margin-bottom: 10px;
}

.account-link p {
    margin: 0;
}

.account-link a {
    color: #000;
    text-decoration: underline;
}

/* Form */
.login-box form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Firstname + Lastname side by side */
.name-row {
    display: flex;
    gap: 10px;
}

.name-row input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.4);
    color: #000;
}

/* Other inputs */
.login-box input[type="email"],
.login-box input[type="password"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.4);
    color: #000;
}

.login-box input::placeholder {
    color: #000000;
    opacity: 0.3;
}

/* Submit button */
.login-box button {
    padding: 10px;
    background: #ffffff90;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-box button:hover {
    background: #fff;
}

/* Checkbox and Terms Row*/
.checkbox-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-top: 10px;
}

.checkbox-left {
    display: flex;
    align-items: center;
}

.checkbox-left input {
    margin-right: 6px;
}

.checkbox-right a {
    color: #000;
    text-decoration: underline;
}

/* Medium screens (tablets) */
@media (max-width: 950px) {
    .content-wrapper {
      flex-direction: column;
      padding: 30px 20px;
      gap: 30px;
    }
  
    .welcome-box,
    .login-box {
      width: 100%;
    }
  
    .welcome-box {
      margin-top: 0;
      text-align: center;
    }
  
    .icon-container {
      justify-content: center;
    }
  
    .nav-menu {
      flex-direction: column;
      align-items: flex-start;
      padding: 20px;
    }
  
    nav {
      justify-content: flex-start;
      flex-wrap: wrap;
      gap: 10px;
    }
  
    .nav-button {
      margin-top: 10px;
      justify-content: flex-start;
    }
  }
  
  /* Small screens (phones) */
  @media (max-width: 600px) {
    .name-row {
      flex-direction: column;
      gap: 12px;
    }
  
    .nav-menu {
      align-items: center;
      padding: 15px;
    }

    .nav-button {
        margin-left: 45px;
    }
  
    .logo {
      width: 150px;
      height: auto;
      margin-left: 0;
    }
  
    nav a {
      font-size: 14px;
      padding: 8px;
    }
  
    .btn {
      width: 100%;
    }
  
    .welcome-box h1 {
      font-size: 28px;
    }
  
    .welcome-box p {
      font-size: 14px;
    }
  
    .login-box h1 {
      font-size: 24px;
    }
  
    .checkbox-row {
      align-items: flex-start;
      gap: 10px;
    }
  }
  