body {
  background-color: #fff;
  padding-top: env(safe-area-inset-top, 60px);
  padding-bottom: env(safe-area-inset-bottom, 50px);
  font-size: 16px;
  line-height: 1.5;
  color: #222;
  font-family: 'Arial', sans-serif;
  -webkit-font-smoothing: auto;
  text-rendering: geometricPrecision;
}

.login-card {
    max-width: 400px;
    margin: 80px auto;
    padding: 30px 25px;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 0 12px rgba(0,0,0,0.08);
}
.form-control:focus {
    box-shadow: none;
    border-color: #007bff;
}
.btn-primary {
    font-size: 15px;
    padding: 12px 0;
    border-radius: 10px;
    font-weight: bold;
}
.list-card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.list-title {
    font-weight: bold;
    font-size: 16px;
}
.list-sub {
    font-size: 14px;
    color: #444;
}
.list-label {
    padding-left: 8px;
}
.btn-outline-primary {
    background-color: #f3f8ff;
    border-color: #c6dbf7;
    color: #337ab7;
}

.btn-outline-primary:hover {
    background-color: #e0efff;
    color: #195f9c;
}
.waypoint-label {
    color: #006633;
}
.endpoint-label{
    color: #b95800;
}

.card { background: white; padding: 20px; border-radius: 12px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.label { font-weight: bold; margin-top: 10px; }
.value { margin-bottom: 10px; }
.btn { padding: 12px 18px; border: none; border-radius: 8px; font-size: 16px; cursor: pointer; }
.btn-apply { background-color: #007bff; color: white; }
.btn-disabled { background-color: #ccc; color: #666; cursor: not-allowed; }

@media (max-width: 576px) {
    .list-card {
        flex-direction: row; /* ❌ column 대신 row 유지 */
        align-items: center !important; /* ❗️stretch 대신 center 정렬 */
        flex-wrap: nowrap; /* 한 줄 유지 */
    }

    .list-card .flex-grow-1 {
        min-width: 0;
        overflow: hidden;
    }

    .list-card .btn-wrapper {
        flex-shrink: 0;
        width: 90px;
        margin-left: 10px;
    }
}