* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;

  /* background: linear-gradient(135deg, #e5f9ff 0%, #e5f9ff 100%); */
  min-height: 100vh;
  overflow: hidden;
}

.container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
}

.left-panel {
  width: 40%;
  height: 100vh;
  background: #e5f9ff;
  backdrop-filter: blur(10px);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 10;
}

.title {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.1;
  color: #4fb2ce;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.title-simple {
  display: none;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.3;
  color: #4fb2ce;
  margin-bottom: 5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
  font-size: 1.1rem;
  color: #4fb2ce;
  line-height: 1.6;
  font-weight: 400;
}

.right-panel {
  width: 60%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #e5f9ff;
}

.photo {
  position: absolute;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 12px 12px 40px 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.photo:hover {
  transform: scale(1.05) rotate(0deg) !important;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.25);
  z-index: 1000 !important;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.photo-1 {
  width: 300px;
  height: 300px;
  top: -1%;
  left: 42%;
  transform: rotate(-8deg);
  z-index: 5;
}

.photo-2 {
  width: 400px;
  height: 400px;
  top: 9%;
  right: 0%;
  transform: rotate(12deg);
  z-index: 4;
}

.photo-3 {
  width: 350px;
  height: 350px;
  top: 47%;
  left: 15%;
  transform: rotate(-15deg);
  z-index: 3;
}

.photo-4 {
  width: 220px;
  height: 170px;
  top: 29%;
  left: 24%;
  transform: rotate(20deg);
  z-index: 6;
}

.photo-5 {
  width: 350px;
  height: 350px;
  top: 60%;
  right: -1%;
  transform: rotate(-12deg);
  z-index: 2;
}

.photo-6 {
  width: 350px;
  height: 350px;
  bottom: -4%;
  left: 42%;
  transform: rotate(8deg);
  z-index: 4;
}

.floating-hearts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.heart {
  position: absolute;
  color: #ff6b6b;
  font-size: 1.2rem;
  animation: float 6s ease-in-out infinite;
  opacity: 0.6;
}

.heart-1 {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}
.heart-2 {
  top: 30%;
  right: 10%;
  animation-delay: 2s;
}
.heart-3 {
  bottom: 20%;
  left: 8%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.sparkles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ffd700;
  border-radius: 50%;
  animation: sparkle 3s ease-in-out infinite;
}

.sparkle-1 {
  top: 25%;
  left: 45%;
  animation-delay: 0s;
}
.sparkle-2 {
  top: 55%;
  right: 25%;
  animation-delay: 1s;
}
.sparkle-3 {
  bottom: 30%;
  left: 60%;
  animation-delay: 2s;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.logo-section {
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.logo-img {
  height: 80px;
  width: 80px;
}
.welcome-text {
  display: flex;
  justify-content: start;
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.login-title {
  display: flex;
  justify-content: start;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 10px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: #5bc0de;
  box-shadow: 0 0 0 3px rgba(91, 192, 222, 0.1);
}

.form-control::placeholder {
  color: #999;
}
.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  color: #666;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 14px;
}

.forgot-password {
  display: flex;
  justify-content: end;
  color: #5bc0de;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
}

.forgot-password:hover {
  text-decoration: underline;
}

.forgot-password a {
  color: #26a0c5;
  font-size: 0.9rem;
  text-decoration: none;
}

.login-btn {
  width: 100%;
  padding: 14px;
  background: #5bc0de;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.login-btn:hover {
  background: #4ab5d1;
}

.login-btn:active {
  transform: translateY(1px);
}
.divider {
  text-align: center;
  margin: 20px 0;
  color: #999;
  font-size: 14px;
  position: relative;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #eee;
  z-index: 1;
}

.divider span {
  background: white;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

.social-login {
  text-align: center;
}

.social-btn {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 6px;
  transition: background 0.3s;
  display: inline-block;
  border: 1px solid #ddd;
  background: white;
}

.social-btn:hover {
  background: #f8f9fa;
  border-color: #5bc0de;
  color: #5bc0de;
}

.signup-link {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 20px;
}

.signup-link a {
  color: #5bc0de;
  text-decoration: none;
  font-weight: 500;
}

.signup-link a:hover {
  text-decoration: underline;
}

/* Alert styles */
.alert {
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-danger {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

#error-message {
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}

.login-modal {
  position: fixed;
  top: 50%;
  left: 77%;
  transform: translate(-50%, -50%);
  background: #ffffffb0;
  backdrop-filter: blur(43px);
  border-radius: 20px;
  padding: 40px;
  width: 420px;
  max-width: 90vw;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  z-index: 1000;
}

/* Laptop/tablet screens (1024px - 1366px) */
@media (max-width: 1366px) and (min-width: 1025px) {
  .photo-1 {
    width: 240px;
    height: 240px;
  }

  .photo-2 {
    width: 400px;
    height: 400px;
  }

  .photo-3 {
    width: 280px;
    height: 280px;
  }

  .photo-4 {
    width: 176px;
    height: 136px;
  }

  .photo-5 {
    width: 280px;
    height: 280px;
  }

  .photo-6 {
    width: 280px;
    height: 280px;
  }

  .heart {
    font-size: 1rem;
  }

  .sparkle {
    width: 3px;
    height: 3px;
  }
}

/* Smaller laptops and tablets (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .login-modal {
    left: 72%;
    width: 380px;
    padding: 35px;
  }

  .photo-1 {
    width: 200px;
    height: 200px;
  }

  .photo-2 {
    width: 320px;
    height: 320px;
  }

  .photo-3 {
    width: 230px;
    height: 230px;
  }

  .photo-4 {
    width: 150px;
    height: 115px;
  }

  .photo-5 {
    width: 230px;
    height: 230px;
  }

  .photo-6 {
    width: 230px;
    height: 230px;
  }

  .heart {
    font-size: 0.9rem;
  }

  .sparkle {
    width: 2px;
    height: 2px;
  }
}

/* Medium tablets and small laptops (769px - 900px) */
@media (max-width: 900px) and (min-width: 769px) {
  .login-modal {
    left: 68%;
    width: 350px;
    padding: 30px;
  }

  .left-panel {
    width: 35%;
    padding: 60px 40px;
  }

  .right-panel {
    width: 65%;
  }

  .title {
    font-size: 2.8rem;
  }
}

/* Mobile devices - Hide all photos and decorative elements */
@media (max-width: 768px) {
  .login-modal {
    left: 50% !important;
    top: 50% !important;
    width: 90vw;
    max-width: 400px;
    padding: 25px 20px;
    max-height: 85vh;
    overflow-y: auto;
  }

  .container {
    flex-direction: column;
    overflow: auto;
    height: 100vh;
  }

  .left-panel {
    width: 100%;
    height: auto;
    min-height: 30vh;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .title {
    font-size: 2rem;
    display: none !important;
    margin-bottom: 20px;
  }

  .title-simple {
    display: block !important;
    font-size: 1.8rem;
    margin-bottom: 0;
    text-align: center;
  }

  .right-panel {
    width: 100%;
    /* height: 70vh; */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide all photos on mobile */
  .photo-3,
  .photo-4,
  .photo-1,
  .photo-2,
  .photo-5,
  .photo-6 {
    display: none !important;
  }

  /* Hide decorative elements on mobile */
  .floating-hearts {
    display: none;
  }

  .sparkles {
    display: none;
  }

  .logo-img {
    height: 50px;
    width: 50px;
  }

  .login-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .form-control {
    padding: 12px 15px;
    font-size: 16px;
  }

  .login-btn {
    padding: 12px;
    font-size: 14px;
  }

  .welcome-text {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group label {
    font-size: 13px;
    margin-bottom: 6px;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .photo-1 .photo-2,
  .photo-3,
  .photo-4,
  .photo-5,
  .photo-6 {
    display: none !important;
  }
  .photo-2 {
    width: 250px;
    height: 250px;
    top: 4%;
    right: 58%;
    transform: rotate(-12deg);
    z-index: 2;
  }

  .photo-1 {
    width: 250px;
    height: 250px;
    top: 4%;
    right: 58%;
    transform: rotate(-0deg);
    z-index: 2;
  }

  .photo-5 {
    width: 350px;
    height: 350px;
    top: 60%;
    right: 40%;
    transform: rotate(-12deg);
    z-index: 2;
  }
  .left-panel {
    padding: 20px 15px;
    min-height: 20vh;
  }

  .title-simple {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .login-modal {
    padding: 20px 15px;
    width: 95vw;
    max-height: 80vh;
  }

  .logo-img {
    height: 40px;
    width: 40px;
  }

  .login-title {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .form-control {
    padding: 10px 12px;
    font-size: 14px;
  }

  .login-btn {
    padding: 10px;
    font-size: 13px;
  }

  .welcome-text {
    font-size: 11px;
  }

  .form-group label {
    font-size: 12px;
  }

  .signup-link {
    font-size: 12px;
  }

  .forgot-password a {
    font-size: 12px;
  }
}

/* Extra adjustments for specific mobile resolutions */
@media (max-width: 400px) {
  .title-simple {
    font-size: 1.3rem;
  }

  .left-panel {
    min-height: 20vh;
    padding: 15px 10px;
  }

  .login-modal {
    padding: 15px 12px;
  }
}

.contact-us-link a {
  color: #5bc0de;
  text-decoration: none;
}

.contact-us-link a:hover {
  color: #339abf;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.contact-popup {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 8px;
}

.popup-title i {
  color: #4fb2ce;
}

.close-button {
  background: none;
  border: none;
  font-size: 18px;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.close-button:hover {
  background: #f3f4f6;
  color: #374151;
}

.contact-form-content {
  padding: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #374151;
  font-size: 14px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #4fb2ce;
  box-shadow: 0 0 0 3px rgba(79, 178, 206, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

.cancel-btn {
  padding: 12px 24px;
  border: 1px solid #d1d5db;
  background: white;
  color: #6b7280;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.cancel-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #374151;
}

.submit-btn {
  padding: 12px 24px;
  background: #4fb2ce;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s;
}

.submit-btn:hover {
  background: #3a9bc1;
}

.submit-btn:active {
  background: #2d7a94;
}

/* Success Content Styles */
.success-content {
  padding: 40px 24px;
  text-align: center;
}

.success-icon {
  margin-bottom: 20px;
}

.success-icon i {
  font-size: 48px;
  color: #10b981;
}

.success-content h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
}

.success-content p {
  margin: 0 0 24px;
  color: #6b7280;
  line-height: 1.5;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .contact-popup {
    width: 95%;
    margin: 20px;
  }

  .popup-header {
    padding: 16px 20px 12px;
  }

  .popup-title {
    font-size: 16px;
  }

  .contact-form-content,
  .success-content {
    padding: 20px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .cancel-btn,
  .submit-btn {
    width: 100%;
    justify-content: center;
  }
}
