/* Base Responsive Styles for Acquatravel Application */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

/* Reset e base styles */
* {
   box-sizing: border-box;
}

/* Base container styles */
div#container {
   /* max-width: 1200px; */
   width: 100%;
   position: relative;
   margin: 0 auto;
   padding: 0 20px;
   text-align: left;
   min-height: 100vh;
   display: flex;
   flex-direction: column;
}

/* Base body styles */
body {
   /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
   color: #333;
   font-family: "Open Sans", sans-serif;
   font-weight: 400;
   font-size: 16px;
   line-height: 1.5;
   margin: 0;
   text-align: center;
   min-height: 100vh;
}

/* Form elements base styles */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
   width: 100%;
   padding: 15px 20px;
   border: 2px solid #e1e5e9;
   border-radius: 12px;
   background-color: #fff;
   color: #333;
   font-family: "Open Sans", sans-serif;
   font-weight: 400;
   font-size: 16px;
   transition: all 0.3s ease;
   margin-bottom: 20px;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
   border-color: #667eea;
   box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
   outline: 0;
   transform: translateY(-2px);
}

/* Button base styles */
input[type="submit"], input[type="button"], button {
   padding: 15px 30px;
   border: none;
   border-radius: 12px;
   font-family: "Open Sans", sans-serif;
   font-weight: 600;
   font-size: 16px;
   cursor: pointer;
   transition: all 0.3s ease;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   min-width: 120px;
   height: 50px;
}

/* Primary button */
input[type="submit"], button.primary {
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   color: #ffffff;
}

input[type="submit"]:hover, button.primary:hover {
   transform: translateY(-2px);
   box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Secondary button */
input[type="button"], button.secondary {
   background: transparent;
   color: #666;
   border: 2px solid #e1e5e9;
}

input[type="button"]:hover, button.secondary:hover {
   background: #f8f9fa;
   transform: translateY(-2px);
   box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Form containers */
form {
   background: rgba(255,255,255,0.95);
   backdrop-filter: blur(10px);
   border-radius: 16px;
   padding: 40px;
   box-shadow: 0 20px 40px rgba(0,0,0,0.1);
   border: 1px solid rgba(255,255,255,0.2);
   margin: 20px auto;
   /* max-width: 500px; */
}

/* Links */
a {
   color: #667eea;
   text-decoration: none;
   transition: all 0.3s ease;
}

a:hover {
   color: #764ba2;
   text-decoration: underline;
   transform: translateY(-1px);
}

/* Labels */
label {
   display: block;
   margin-bottom: 8px;
   color: #333;
   font-weight: 600;
   font-size: 14px;
}

/* Images */
img {
   max-width: 100%;
   height: auto;
   border-radius: 8px;
}

/* Text elements */
.text-white {
   color: #fff !important;
}

.text-center {
   text-align: center;
}

/* Card-like elements */
.card {
   background: rgba(255,255,255,0.95);
   backdrop-filter: blur(10px);
   border-radius: 16px;
   padding: 30px;
   box-shadow: 0 20px 40px rgba(0,0,0,0.1);
   border: 1px solid rgba(255,255,255,0.2);
   margin: 20px 0;
}

/* Media Queries */
@media (max-width: 768px) {
   div#container {
      padding: 10px;
   }
   
   form {
      padding: 30px 20px;
      margin: 10px 0;
   }
   
   input[type="text"], input[type="email"], input[type="password"], textarea, select {
      font-size: 16px; /* Prevent zoom on iOS */
   }
   
   .card {
      padding: 20px;
      margin: 10px 0;
   }
}

@media (max-width: 480px) {
   body {
      font-size: 14px;
   }
   
   form {
      padding: 20px 15px;
   }
   
   input[type="text"], input[type="email"], input[type="password"], textarea, select {
      padding: 12px 15px;
      font-size: 16px;
   }
   
   input[type="submit"], input[type="button"], button {
      height: 45px;
      font-size: 14px;
      padding: 12px 20px;
   }
}