* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  color: white;
}

.container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px 35px;
  border-radius: 20px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

        .fa-utensils{
          font-size: 80px;
        }

.frame {
  width: 100%;
}

/* Logo / Icon */
.logo-container {
  text-align: center;
  margin-bottom: 30px;
}

.cart-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  position: relative;
}

.cart-icon svg {
  width: 100%;
  height: 100%;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.frame h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#forgotPasswordLink{
  color: white;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

label {
  font-weight: 500;
  font-size: 13px;
  margin-bottom: -12px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  pointer-events: none;
}

input[type="email"],
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 14px 15px 14px 45px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
  margin-top: 5px;
}

input[type="email"]:focus,
input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: white;
  -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.1) inset;
  transition: background-color 5000s ease-in-out 0s;
}

.password-container {
  position: relative;
  width: 100%;
}

.password-container input {
  width: 100%;
  padding-right: 45px;
}

.password-container i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  transition: color 0.3s ease;
}

.password-container i:hover {
  color: white;
}

button[type="submit"] {
  background: white;
  color: #667eea;
  border: none;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-top: 10px;
  font-family: "Poppins", sans-serif;
}

button[type="submit"]:hover {
  background: #f8f9ff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

button[type="submit"]:active {
  transform: translateY(0);
}

p {
  text-align: center;
  font-size: 13px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9);
}

a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: underline;
  color: #f0f0f0;
}

/* Forgot Password Link */
.forgot-password {
  text-align: center;
  margin-top: 15px;
  font-size: 13px;
}

.forgot-password a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 480px) {
  .container {
    padding: 30px 25px;
  }
  
  .frame h1 {
    font-size: 20px;
  }
  
  input[type="email"],
  input[type="text"],
  input[type="password"] {
    padding: 12px 12px 12px 40px;
  }
}

 .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            background-color: #fff;
            margin: 5% auto;
            padding: 30px;
            border-radius: 15px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            animation: slideDown 0.3s ease;
        }

        @keyframes slideDown {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .modal-header h2 {
            color: #333;
            font-size: 24px;
            margin: 0;
            font-weight: 600;
        }

        .close {
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s;
            line-height: 1;
        }

        .close:hover,
        .close:focus {
            color: #000;
        }

        .modal-content .input-group {
            margin-bottom: 20px;
        }

        .modal-content .input-group label {
            display: block;
            color: #333;
            font-weight: 500;
            margin-bottom: 8px;
            font-size: 14px;
        }

        .modal-content .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .modal-content .input-wrapper input {
            width: 100%;
            padding: 12px 40px 12px 40px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
            color: #333;
            background-color: #fff;
            transition: all 0.3s;
        }

        .modal-content .input-wrapper input:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .modal-content .input-wrapper input::placeholder {
            color: #999;
        }

        .modal-content .input-icon {
            position: absolute;
            left: 12px;
            color: #667eea;
            font-size: 16px;
        }

        .modal-content .toggle-password {
            position: absolute;
            right: 12px;
            color: #999;
            cursor: pointer;
            font-size: 16px;
            transition: color 0.3s;
        }

        .modal-content .toggle-password:hover {
            color: #667eea;
        }

        .modal-content button[type="submit"] {
            width: 100%;
            padding: 12px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 10px;
        }

        .modal-content button[type="submit"]:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }

        .forgot-link {
            text-align: right;
            margin-top: 10px;
        }

        .forgot-link a {
            color: #667eea;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s;
        }

        .forgot-link a:hover {
            color: #764ba2;
            text-decoration: underline;
        }

        .popup-alert {
            display: none;
            position: fixed;
            top: 20px;
            right: 20px;
            min-width: 300px;
            padding: 15px 20px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
            z-index: 2000;
            animation: slideInRight 0.3s ease;
        }

        @keyframes slideInRight {
            from {
                transform: translateX(400px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        .popup-alert.success {
            background-color: #d4edda;
            border-left: 4px solid #28a745;
            color: #155724;
        }

        .popup-alert.error {
            background-color: #f8d7da;
            border-left: 4px solid #dc3545;
            color: #721c24;
        }

        .popup-alert .popup-icon {
            display: inline-block;
            margin-right: 10px;
            font-size: 20px;
        }

        .popup-alert .popup-close {
            float: right;
            cursor: pointer;
            font-size: 20px;
            font-weight: bold;
            opacity: 0.5;
        }

        .popup-alert .popup-close:hover {
            opacity: 1;
        }

        .popup-alert {
            position: fixed;
            top: 20px;
            right: 20px;
            background: white;
            padding: 15px 30px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 9999;
            max-width: 350px;
            display: flex;
            align-items: center;
            opacity: 0;
            transform: translateX(100%);
            transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        }
        .popup-alert.show {
            opacity: 1;
            transform: translateX(0);
        }
        .popup-alert.error { border-left: 5px solid #e74c3c; }
        .popup-alert.success { border-left: 5px solid #2ecc71; }
        .popup-icon {
            font-size: 24px;
            margin-right: 15px;
        }
        .popup-alert.error .popup-icon { color: #e74c3c; }
        .popup-alert.success .popup-icon { color: #2ecc71; }
        .popup-message {
            font-size: 14px;
            color: #333;
            flex-grow: 1;
        }

  #forgotPasswordModal .modal-content {
    margin-top: 10px;
    margin-bottom: auto;
}

@media (max-height: 700px) {
    #forgotPasswordModal .modal-content {
        margin-top: 20px;
        max-height: 95vh;
        overflow-y: auto;
    }
}