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


 */
body {
    font-family: "ヒラギノ角ゴPro";
    background-color:#ffffff;
    font-size: 16px;
    color: #da6220;
}

.site-header {
    background-color: #ede8d1;
    color: #ffffff;
    padding: 8px 15px;
    border-bottom: 1px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 20px;
    padding: 8px 15px;
}

.nav-button {
    background-color: #ffffff;
    color: #da6220;
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
    font-size: 16px;
    font-family: inherit;
    display: inline-block;
}

.nav-button:hover {
    background-color: #da6220;
    color: #ffffff;
}

.login-main {
    width: 300px;
    margin: auto auto;
    padding: 50px;
    align-items: stretch;
    
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.login-button {
    background-color: #da6220;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    text-align: center;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
}

.login-button:hover {
    background-color: #ffffff;
    color: #da6220;
}

.register-button {
    background-color: #da6220;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    text-align: center;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
}

.register-button:hover {
    background-color: #ffffff;
    color: #da6220;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.symptom-buttons, .actions, .form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
  }

.symptom-button {
    background-color: #e0f2f1;
    border: 1px solid #009688;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.symptom-button.selected {
    background-color: #009688;
    color: white;
}

.form-control {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #555;
}

.actions {
    display: flex;
    justify-content: center;
}

.heal-button {
    display: inline-block;
    padding: 12px 24px;
    white-space: nowrap;
    background-color: #ff7043;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
  
.popup-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.start-button {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}

.form-row {
    margin-top: 16px;
    width: 100%;
    padding: 8px;
    display: flex;
    justify-content: center;
}

.symptom-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    justify-content: center;
    margin-bottom: 16px;
}
  
.legend-item {
    display: flex;
    align-items: center;
    font-size: 12px;
}
  
.legend-color {
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border-radius: 2px;
}

.legend-color.headache { background: #f44336; }
.legend-color.cough { background: #2196f3; }
.legend-color.runny_nose { background: #03a9f4; }
.legend-color.rash { background: #e91e63; }
.legend-color.vomit { background: #ff9800; }
.legend-color.stool { background: #8bc34a; }
.legend-color.temperature { background: #9c27b0; }

.weekly-matrix {
    display: flex;
    gap: 48px;
}
  
.week-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}
  
.day-row {
    display: flex;
    align-items: center;
    margin: 0;
}
  
.weekday {
    width: 32px;
    text-align: center;
    font-size: 12px;
}
  
.symptom-cells {
    display: flex;
    gap: 0;
}
  
.symptom-cell {
    width: 12px;
    height: 24px;
    background: #eee;
}

  /* active + 症状色 */
.symptom-cell.active {
    background: #4caf50;
}

.symptom-cell.headache { background: #f44336; }
.symptom-cell.cough { background: #2196f3; }
.symptom-cell.runny_nose { background: #03a9f4; }
.symptom-cell.rash { background: #e91e63; }
.symptom-cell.vomit { background: #ff9800; }
.symptom-cell.stool { background: #8bc34a; }
.symptom-cell.temperature { background: #9c27b0; }

.symptom-trend {
    margin-top: 32px;
    padding: 16px;
}
  
.symptom-trend h3 {
    text-align: center;
    margin-bottom: 12px;
}

.kid-item {
    list-style: none;
    margin-bottom: 20px;
}

.kid-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.kid-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
  
    display: flex;
    align-items: center;
    justify-content: center;

     /* 👤用 */
    font-size: 24px;
    background: #eee;
}

.kid-name {
    font-size: 24px;
    font-weight: 400;
}

.password-reset-container {
    width: 100%;
    max-width: 420px;
    padding: 32px 28px;
    background: #ede8d1;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
}  

.password-reset-container .field {
    margin-bottom: 20px;
}

.password-reset-container input[type="email"] {
    padding: 10px;
    width: 280px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.password-reset-container .actions {
    margin-top: 10px;
    flex-direction: column;
}
