/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Base Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8fafc;
  color: #1a202c;
  line-height: 1.6;
}

/* Navigation Styles */
.navigation {
  background-color: #2d3748;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-link {
  color: #e2e8f0;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}

.nav-link:hover {
  background-color: #4a5568;
  color: #ffffff;
}

.nav-link.btn-outline {
  border: 1px solid #e2e8f0;
}

.nav-link.btn-primary {
  background-color: #3182ce;
  color: #ffffff;
}

.nav-link.btn-primary:hover {
  background-color: #2c5282;
}

/* Flash Messages */
.flash-messages {
  max-width: 1200px;
  margin: 1rem auto;
  padding: 0 2rem;
}

.notice, .alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
}

.notice {
  background-color: #c6f6d5;
  border: 1px solid #9ae6b4;
  color: #22543d;
}

.alert {
  background-color: #fed7d7;
  border: 1px solid #fc8181;
  color: #742a2a;
}

/* Authentication Container */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-card {
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

.auth-title {
  font-size: 1.875rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #1a202c;
}

.auth-subtitle {
  text-align: center;
  color: #718096;
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

/* Form Styles */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 500;
  color: #2d3748;
  font-size: 0.875rem;
}

.form-hint {
  font-size: 0.75rem;
  color: #718096;
  font-style: italic;
}

.form-input {
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #3182ce;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.form-check-input {
  margin: 0;
}

.form-check-label {
  margin: 0;
  font-size: 0.875rem;
}

.form-actions {
  margin-top: 1rem;
}

/* Button Styles */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background-color 0.2s, transform 0.1s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: #3182ce;
  color: #ffffff;
  width: 100%;
}

.btn-primary:hover {
  background-color: #2c5282;
}

/* Auth Links */
.auth-links {
  margin-top: 2rem;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.auth-links a {
  color: #3182ce;
  text-decoration: none;
  font-size: 0.875rem;
  margin: 0 0.5rem;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* Error Messages */
.error_explanation {
  background-color: #fed7d7;
  border: 1px solid #fc8181;
  border-radius: 0.375rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.error_explanation h2 {
  color: #742a2a;
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
}

.error_explanation ul {
  margin: 0;
  padding-left: 1.5rem;
}

.error_explanation li {
  color: #742a2a;
  font-size: 0.875rem;
}

/* Admin Watch Image Container */
.watch-image-box {
  background-color: #16213E;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.watch-image-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.watch-image-box--lg {
  height: 12rem;
}

.watch-image-box--sm {
  height: 6rem;
  width: 6rem;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 640px) {
  .auth-container {
    padding: 1rem;
  }
  
  .auth-card {
    padding: 1.5rem;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
