/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body */
body {
    background: #f7f9fc;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
/* Main Container */
.container {
    display: flex;
    max-width: 900px;
    width: 90%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: left
}

/* Left Content */
.left-content {
    flex: 1;
    background: rgb(223, 222, 222);
    color: rgb(11, 6, 78);
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: 20px;
}

.left-content h1 {
    font-size: 28px;
}

.left-content p {
    font-size: 16px;
}

/* Avatars */
.avatars {
    display: flex;
    justify-content: left;
    margin-top: 10px;
}

.avatars img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: -10px;
}

/* Right Form */
.right-form {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-size: 15px;
    cursor: pointer;
    gap: 8px;
}

.radio-group input[type="radio"] {
    accent-color: #007bff;
}

/* Input Fields */
input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

input:focus {
    border-color: #007bff;
}

/* Password Wrapper */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Forgot Password */
.forgot-password {
    text-align: left;
    display: block;
    text-decoration: none;
    color: #007bff;
    font-size: 14px;
    margin-bottom: 10px;
}

.forgot-password:hover {
    color: #0056b3;
}

/* Submit Button */
.login-btn {
    width: 100%;
    padding: 14px;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background-color: #0056b3;
}

/* Responsive */
@media (max-width: 800px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .left-content {
        padding: 30px;
        align-items: center;
    }
}

.toggle-password {
  cursor: pointer;
  pointer-events: all;
}
.left-content {
  background: linear-gradient(to bottom right, #f1f5f9, #e2e8f0, #cbd5e1);
}


/* Container for the waves and ship */
.water-container {
  position: absolute;
  top: 500px;
  width: 400px;
  height: 12px;  
  overflow: visible;
}
.pulse-slow {
  height: 8px;
  bottom: 4px;
  animation: pulse-slow 2s ease-in-out infinite;
}

.wiggle {
  height: 4px;
  bottom: 2px;
  background-color: #3b82f6;
  animation: wiggle 1.5s ease-in-out infinite;
}

/* Waves */
.wave {
  position: absolute;
  width: 100%;
  border-radius: 50%;
  background-color: #60a5fa;
  opacity: 0.4;
}


/* Keyframes */
@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

/* Floating ship on a shorter wave path */
.wave-ship {
  position: absolute;
  bottom: -30px; /* Adjusted to align better with wave */
  width: 150px;
  height: auto;
  offset-path: path("M0,12 C60,10 120,14 180,12 S240,14 300,12"); 
  offset-rotate: auto;
  animation: waveMove 8s ease-in-out infinite alternate;
  z-index: 10;
}
@keyframes waveMove {
  0% {
    offset-distance: 0%;
  }
  100% {
    offset-distance: 100%;
  }
}

