/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

 
body {
  background-color: #f8f9fa;
}

.hero {
  height: 100vh;
  background-image: url('https://via.placeholder.com/1200x400');
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.room-card {
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Announcement Ticker Styles */
.announcement-ribbon {
  width: 100%;
  background-color: #2c3e50;
  color: white;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60; /* higher than nav's z-50 */
}

.ticker-wrapper {
  width: 100%;
  height: 40px;
  position: relative;
}

.ticker-content {
  display: inline-block;
  will-change: transform;
}

.ticker-content span {
  font-size: 14px;
  font-weight: 500;
  padding: 0 20px;
  line-height: 40px;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ticker-content span {
    font-size: 12px;
  }
}

/* Flash messages. The ribbon is fixed at 40px tall, so anything that needs to
   be read has to clear it. */
.flash-messages {
  padding: 52px 16px 0;
  max-width: 720px;
  margin: 0 auto;
}

.flash-message {
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.4;
  border: 1px solid transparent;
}

.flash-alert {
  background-color: #fdecea;
  border-color: #f5c2c0;
  color: #8c1c13;
}

.flash-notice {
  background-color: #eaf6ec;
  border-color: #bcdfc4;
  color: #14532d;
}

/* Devise pages have no nav of their own, so they need to clear the fixed
   ribbon themselves. */
.auth-page {
  padding-top: 52px;
  padding-bottom: 40px;
}
