/*
 * 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.
 */

 @import url("https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css");

body {
  background-color: #edf6f1;
  color: #152f2a;
  font-family: 'Source Sans Pro', sans-serif;
}

/* Flash */
.flash-messages {
  margin: 10px 0;
}

.flash-notice {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 10px;
  border-radius: 5px;
}

.flash-alert {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 10px;
  border-radius: 5px;
}

/* Cards */
.card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}
  
.card-link {
  text-decoration: none;
  color: inherit;
}
  
.card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
  
.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/*
#plans-container .card-body {
  background: #152f2a;
}

#plans-container .card-title, #plans-container .card-text {
  color: #edf6f1;
}
*/

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.plan-card, .login-card {
  animation: fadeIn 0.5s ease-out;
}

/* Datepicker */
.ui-datepicker {
  z-index: 9999;
}

.ui-datepicker-header {
  background-color: #25d366;
  color: white;
}
