body {
    margin: 0;
    font-family: sans-serif;
    background: #f5f5f5;
}

.app-container {
    padding: 20px;
    padding-bottom: 80px;
}

/* CENTER */
.center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* IMAGE BOX */
.image-box {
    width: 100%;
    height: 180px;
    background: #ddd;
    border-radius: 15px;
    margin-bottom: 20px;
}
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}
.image-box.small {
    height: 120px;
}

/* BUTTON */
.primary-btn {
    background: #4CAF50;
    color: white;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 10px;
    text-align: center;
    margin-top: 10px;
}

/* CARD */
.card {
    background: white;
    padding: 20px;
    border-radius: 15px;
}

/* WARNING */
.warning {
    color: red;
    font-weight: bold;
}

/* BOTTOM NAV */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #ccc;
    padding: 10px 0;
}

.bottom-nav a {
    text-decoration: none;
    color: black;
    font-size: 12px;
    text-align: center;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.guide-card {
    background: white;
    padding: 10px;
    border-radius: 10px;
}

/* SEARCH */
.search {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

/* SPINNER */
.spinner {
    width: 40px;
    height: 40px;
    border: 5px solid #ccc;
    border-top: 5px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
    margin-top: 60px;
}
.analysis-box {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 12px;
    line-height: 1.6;
    font-size: 14px;
    margin-top: 10px;
}

.analysis-box strong {
    display: block;
    margin-top: 10px;
    color: #2e7d32;
}

.analysis-box br {
    margin-bottom: 6px;
}
.page-title {
    text-align: center;
    margin-bottom: 20px;
}

.guide-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guide-step {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #4CAF50;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.step-content h4 {
    margin: 0;
    font-size: 16px;
}

.step-content p {
    margin: 5px 0 0;
    font-size: 13px;
    color: #555;
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}