/* app/assets/stylesheets/custom.css */

body {
  background-color: #f9f9f9;
}

.navbar-custom {
  background-color: #81c784;
}

.nav-link {
  font-weight: 500;
}

.card-meal {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

footer {
  border-top: 1px solid #ddd;
}

.alert {
  border-radius: 10px;
}
/*
 * 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.
 *


 */

/* 投稿カードの丸みと影 */
.food-card {
  border-radius: 15px;
  box-shadow: 0 6px 12px rgb(0 0 0 / 0.1);
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease;
}
.food-card:hover {
  transform: translateY(-5px);
}

/* 画像のアスペクト比固定 */
.food-card-img {
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid #eee;
}

.chatgpt-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: white !important;
  background: linear-gradient(90deg, #10b981, #3b82f6);
  padding: 0.6rem 1.4rem;
  border-radius: 0.6rem;
  box-shadow: 0 6px 12px rgba(16, 185, 129, 0.5);
  transition: all 0.3s ease;
  text-decoration: none !important;
  filter: drop-shadow(0 0 3px #3b82f6);
}

.chatgpt-link img {
  margin-right: 10px;
  width: 28px;
  height: 28px;
}

.chatgpt-link:hover,
.chatgpt-link:focus {
  background: linear-gradient(90deg, #3b82f6, #10b981);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.8);
  transform: scale(1.1);
  text-decoration: none !important;
  color: white !important;
  filter: drop-shadow(0 0 6px #3b82f6);
}
