#randfood-app {
    max-width: 430px;
    margin: 0px auto;
    padding: 15px;
    border: 0px solid #e4e4e4;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    background: #fff;
    color: #111;
}

#randfood-app h2 {
    color: #111;
    font-size: 20px;
    margin-bottom: 12px;
}

#randfood-app label {
    display: block;
    margin-bottom: 0px;
    font-weight: 500;
    color: #111;
    font-size: 16px;
}

#randfood-group {
    width: 100%;
    padding: 14px 10px;
    font-size: 16px;
    border-radius: 0px;
    border: 1px solid #e4e4e4;
    outline: none;
    appearance: none;
    background: url("data:image/svg+xml;charset=US-ASCII,%3csvg%20width%3d%2210%22%20height%3d%227%22%20viewBox%3d%220%200%2010%207%22%20fill%3d%22none%22%20xmlns%3d%22http%3a//www.w3.org/2000/svg%22%3e%3cpath%20d%3d%22M1%201L5%206L9%201%22%20stroke%3d%22%23666%22%20stroke-width%3d%222%22%20stroke-linecap%3d%22round%22%20stroke-linejoin%3d%22round%22/%3e%3c/svg%3e") no-repeat right 10px center/10px 7px;
    cursor: pointer;
}

#randfood-random {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 0px;
    border: none;
    background-color: #284e8f;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#randfood-random:hover {
    background-color: #275fbf;
}

#randfood-result {
    margin-top: 20px;
}

#randfood-result ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

#randfood-result li {
    position: relative;
    margin-bottom: 12px;
    padding: 10px 45px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    color: #111;
    cursor: default;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafafa;
    transition: background-color 0.3s ease;
}

#randfood-result li:hover {
    background-color: #f0f0f0;
}

#randfood-result li strong {
    color: #666;
    margin-left: 10px;
    min-width: 50px;
    text-align: right;
    flex-shrink: 0;
}

#randfood-result li.percent-high {
    font-size: 20px;
    font-weight: 700;
    color: #d53848;
}

.copy-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #eee;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 14px;
    cursor: pointer;
    color: #333;
    transition: background-color 0.2s ease;
    user-select: none;
}

.copy-btn:hover {
    background-color: #ddd;
}
#randfood-result li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 10px;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    font-size: 16px;
    color: #111;
    cursor: default;
    background-color: #fafafa;
}

.copy-btn {
    /* position static để flow theo flex */
    background: #eee;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 14px;
    cursor: pointer;
    color: #333;
    user-select: none;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.copy-btn:hover {
    background-color: #ddd;
}
/* Khi disable */
#randfood-random:disabled {
    background-color: #fff;
    color: #fff;
    cursor: not-allowed;
}

/* Disable hover không đổi màu */
#randfood-random:disabled:hover {
    background-color: #fff;
    color: #fff;
}